/*
Theme Name: Tasnett Scouting Network
Theme URI: https://tasnett.com
Author: Tasnett
Description: Custom theme for the Tasnett football scouting network. Manage free agents, success stories, your logo, contact details, and homepage numbers directly from the WordPress dashboard.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tasnett
*/

/* ============================================================
   TASNETT — theme stylesheet
   ============================================================ */

:root{
  --pitch-dark:#0E3B2A;
  --pitch-darker:#0A2E20;
  --paper:#EFF2E8;
  --paper-dim:#E3E8D9;
  --ink:#132018;
  --ink-soft:#3C4A3F;
  --gold:#E8A93A;
  --gold-dim:#C98F27;
  --teal:#5F9A92;
  --ember:#C0472E;
  --chalk:#F7F5EC;
  --line: rgba(247,245,236,0.14);
  --line-dark: rgba(19,32,24,0.12);
  --radius: 4px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'IBM Plex Sans', sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
.display{font-family:'Big Shoulders Display', sans-serif; letter-spacing:0.01em;}
.mono{font-family:'IBM Plex Mono', monospace;}
.wrap{max-width:1200px; margin:0 auto; padding:0 32px;}
button{font-family:inherit; cursor:pointer;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* ---------- Eyebrow ---------- */
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:500;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:currentColor;
  display:inline-block;
}

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:60;
  background:rgba(14,59,42,0.96);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 32px;
  max-width:1200px; margin:0 auto;
}
.logo{
  display:flex; align-items:center; gap:10px;
}
.logo img{ max-height:42px; width:auto; display:block; }
.logo-mark{
  width:38px; height:38px;
  border-radius:8px;
  background:rgba(247,245,236,0.08);
  border:1px dashed rgba(247,245,236,0.35);
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono', monospace;
  font-size:8.5px; letter-spacing:0.02em;
  color:rgba(247,245,236,0.55);
  text-align:center;
  line-height:1.1;
  flex-shrink:0;
}
.logo-word{
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800;
  font-size:26px;
  color:var(--chalk);
  letter-spacing:0.02em;
}
.logo-word .dot{color:var(--gold);}
.nav-links{display:flex; align-items:center; gap:28px;}
.nav-links a{
  color:var(--chalk);
  font-size:14px;
  font-weight:500;
  opacity:0.85;
  transition:opacity 0.2s ease;
  white-space:nowrap;
}
.nav-links a:hover{opacity:1;}
.nav-links a.current{opacity:1; color:var(--gold);}
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a{opacity:1; color:var(--gold);}
.nav-cta{
  background:var(--gold);
  color:var(--pitch-darker) !important;
  font-weight:600;
  font-size:13px;
  padding:11px 20px;
  border-radius:2px;
  letter-spacing:0.02em;
  transition:transform 0.15s ease, background 0.2s ease;
  display:inline-block;
  border:none;
}
.nav-cta:hover{background:var(--chalk); transform:translateY(-1px);}
.nav-toggle{display:none; background:none; border:none; color:var(--chalk); font-size:22px; cursor:pointer;}

@media (max-width:900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background:var(--pitch-dark);
    flex-direction:column; align-items:flex-start;
    padding:20px 32px 28px; gap:18px;
    border-bottom:1px solid var(--line);
    display:none;
  }
  .nav-links.open{display:flex;}
  .nav-toggle{display:block;}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px;
  font-size:14px; font-weight:600;
  letter-spacing:0.02em;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  background:none;
}
.btn-solid{background:var(--gold); color:var(--pitch-darker);}
.btn-solid:hover{background:var(--chalk); transform:translateY(-1px);}
.btn-outline{border-color:rgba(247,245,236,0.4); color:var(--chalk);}
.btn-outline:hover{border-color:var(--chalk); background:rgba(247,245,236,0.06);}
.btn-outline-dark{border-color:rgba(19,32,24,0.3); color:var(--ink);}
.btn-outline-dark:hover{border-color:var(--ink); background:rgba(19,32,24,0.05);}
.btn-dark{background:var(--pitch-darker); color:var(--chalk);}
.btn-dark:hover{background:var(--ink); transform:translateY(-1px);}
.btn-sm{padding:10px 18px; font-size:12.5px;}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero{
  background:var(--pitch-dark);
  color:var(--chalk);
  padding:72px 0 56px;
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(ellipse 800px 420px at 85% -10%, rgba(232,169,58,0.16), transparent 60%);
  pointer-events:none;
}
.page-hero .eyebrow{color:var(--gold); margin-bottom:16px;}
.page-hero h1{
  font-size:clamp(34px,5vw,54px);
  font-weight:800;
  line-height:1.02;
  max-width:18ch;
  position:relative; z-index:1;
}
.page-hero p{
  color:rgba(247,245,236,0.75);
  max-width:52ch;
  margin-top:16px;
  font-size:15.5px;
  position:relative; z-index:1;
}

/* ---------- Hero (home) ---------- */
.hero{ position:relative; background:var(--pitch-dark); color:var(--chalk); overflow:hidden; padding:96px 0 120px; }
.hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 900px 500px at 78% -10%, rgba(232,169,58,0.16), transparent 60%),
    radial-gradient(ellipse 700px 400px at 100% 100%, rgba(95,154,146,0.12), transparent 60%);
  pointer-events:none;
}
.pitch-lines{ position:absolute; inset:0; z-index:0; opacity:0.5; pointer-events:none; }
.glow-pulse{ animation:pulse 6s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{opacity:0.35;} 50%{opacity:0.7;} }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center; }
@media (max-width:960px){ .hero-grid{grid-template-columns:1fr; gap:48px;} }
.hero-eyebrow{ color:var(--gold); margin-bottom:22px; }
.hero h1{ font-size:clamp(40px, 6vw, 68px); font-weight:800; line-height:1.02; margin-bottom:22px; max-width:15ch; }
.hero p.sub{ font-size:17px; color:rgba(247,245,236,0.78); max-width:46ch; margin-bottom:34px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Placeholder media blocks ---------- */
.placeholder-media{
  background:repeating-linear-gradient(135deg, rgba(19,32,24,0.06) 0 10px, rgba(19,32,24,0.02) 10px 20px);
  border:1px dashed var(--line-dark);
  border-radius:6px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px;
  color:var(--ink-soft);
  text-align:center;
  padding:20px;
}
.placeholder-media .ph-icon{font-size:26px; opacity:0.5;}
.placeholder-media .ph-label{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px; letter-spacing:0.06em; text-transform:uppercase;
}
.placeholder-media.on-dark{
  background:repeating-linear-gradient(135deg, rgba(247,245,236,0.05) 0 10px, rgba(247,245,236,0.015) 10px 20px);
  border-color:rgba(247,245,236,0.25);
  color:rgba(247,245,236,0.55);
}
.hero-photo-placeholder{ aspect-ratio:4/3; width:100%; overflow:hidden; }
.hero-photo-placeholder img{ width:100%; height:100%; object-fit:cover; }

/* ---------- Scoreboard ---------- */
.scoreboard{
  background:var(--pitch-darker);
  color:var(--chalk);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.scoreboard-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  padding:44px 0;
}
@media (max-width:760px){
  .scoreboard-grid{grid-template-columns:repeat(2,1fr); row-gap:36px;}
}
.scoreboard-item{ text-align:center; border-left:1px solid var(--line); }
.scoreboard-item:first-child{border-left:none;}
@media (max-width:760px){ .scoreboard-item:nth-child(odd){border-left:none;} }
.scoreboard-num{
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800;
  font-size:clamp(34px,4.2vw,52px);
  color:var(--gold);
  line-height:1;
}
.scoreboard-label{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
  color:rgba(247,245,236,0.65);
  margin-top:8px;
}

/* ---------- Section shell ---------- */
.section{padding:100px 0;}
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:52px; flex-wrap:wrap;
}
.section-head .eyebrow{color:var(--gold-dim); margin-bottom:14px;}
.section-head h2{
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:800;
  font-size:clamp(30px,4vw,44px);
  line-height:1;
}
.section-head p{color:var(--ink-soft); max-width:44ch; font-size:15px;}
.section-dark{background:var(--pitch-dark); color:var(--chalk);}
.section-dark .section-head p{color:rgba(247,245,236,0.7);}
.section-dark .eyebrow{color:var(--gold);}

/* ---------- What We Do (pillars) ---------- */
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
@media (max-width:820px){ .pillars{grid-template-columns:1fr;} }
.pillar{ border-top:2px solid var(--pitch-dark); padding-top:20px; }
.pillar-tag{
  font-family:'IBM Plex Mono', monospace;
  color:var(--gold-dim); font-size:12px; font-weight:600; letter-spacing:0.08em;
  margin-bottom:14px; display:block; text-transform:uppercase;
}
.pillar h3{font-family:'Big Shoulders Display', sans-serif; font-size:24px; font-weight:700; margin-bottom:10px;}
.pillar p{color:var(--ink-soft); font-size:14.5px;}

/* ---------- Tabs / filters ---------- */
.filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.filter-chip{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px; font-weight:500; letter-spacing:0.04em;
  padding:9px 18px;
  border:1px solid var(--line-dark);
  border-radius:100px;
  background:transparent;
  color:var(--ink-soft);
  transition:all 0.2s ease;
}
.filter-chip:hover{border-color:var(--pitch-dark); color:var(--ink);}
.filter-chip.active{ background:var(--pitch-dark); border-color:var(--pitch-dark); color:var(--chalk); }
.filters.on-dark .filter-chip{border-color:rgba(247,245,236,0.25); color:rgba(247,245,236,0.65);}
.filters.on-dark .filter-chip:hover{border-color:var(--chalk); color:var(--chalk);}
.filters.on-dark .filter-chip.active{background:var(--gold); border-color:var(--gold); color:var(--pitch-darker);}

/* ---------- Free agents grid ---------- */
.agents-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:960px){ .agents-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .agents-grid{grid-template-columns:1fr;} }

.agent-card{
  background:#fff;
  border:1px solid var(--line-dark);
  border-radius:6px;
  padding:22px 20px 18px;
  position:relative;
  clip-path:polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.agent-card:hover{transform:translateY(-5px); box-shadow:0 18px 34px -18px rgba(14,59,42,0.35);}
.agent-card.hidden{display:none;}

.agent-status{
  position:absolute; top:12px; right:-2px;
  font-family:'IBM Plex Mono', monospace;
  font-size:9.5px; font-weight:600; letter-spacing:0.08em;
  padding:4px 11px 4px 9px;
}
.status-available{background:var(--gold-dim); color:var(--pitch-darker);}
.status-trial{background:var(--teal); color:var(--chalk);}
.status-signed{background:var(--ember); color:var(--chalk);}

.agent-head{display:flex; align-items:center; gap:12px; margin:14px 0 16px;}
.avatar{
  width:46px; height:46px; border-radius:50%;
  background:var(--pitch-dark);
  color:var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:'Big Shoulders Display', sans-serif;
  font-weight:700; font-size:14px;
  flex-shrink:0;
  overflow:hidden;
}
.avatar img{ width:100%; height:100%; object-fit:cover; }
.agent-name{font-family:'Big Shoulders Display', sans-serif; font-size:21px; font-weight:700; line-height:1.05;}
.agent-meta{font-size:12px; color:var(--ink-soft); margin-top:2px;}

.agent-stats{
  display:grid; grid-template-columns:1fr 1fr; gap:8px 14px;
  border-top:1px solid var(--line-dark);
  padding-top:14px; margin-bottom:14px;
}
.agent-stats .k{font-family:'IBM Plex Mono', monospace; font-size:9.5px; letter-spacing:0.05em; color:var(--ink-soft); text-transform:uppercase; display:block;}
.agent-stats .v{font-weight:600; font-size:13px; margin-top:1px;}

.agent-footer{ border-top:1px solid var(--line-dark); padding-top:12px; }
.agent-footer button{
  background:none; border:none; padding:0;
  display:flex; justify-content:space-between; align-items:center; width:100%;
  font-size:12px; font-weight:600; color:var(--gold-dim);
  font-family:inherit;
}

.view-all-wrap{ text-align:center; margin-top:44px; }
.empty-state{ padding:40px; text-align:center; color:var(--ink-soft); border:1px dashed var(--line-dark); border-radius:6px; }

/* ---------- Success stories ---------- */
.stories-toggle{ display:flex; gap:8px; margin-bottom:36px; }
.stories-toggle button{
  font-family:'IBM Plex Mono', monospace; font-size:11.5px; font-weight:500; letter-spacing:0.06em;
  padding:9px 16px; border-radius:100px; border:1px solid rgba(247,245,236,0.25);
  background:transparent; color:rgba(247,245,236,0.65); text-transform:uppercase;
  transition:all 0.2s ease;
}
.stories-toggle button.active{background:var(--gold); border-color:var(--gold); color:var(--pitch-darker);}

.stories{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .stories{grid-template-columns:1fr;} }
.story-card{
  background:rgba(247,245,236,0.05);
  border:1px solid var(--line);
  border-radius:6px;
  padding:28px 24px;
  position:relative;
}
.story-stamp{
  display:inline-block;
  font-family:'IBM Plex Mono', monospace;
  font-size:10.5px; font-weight:600; letter-spacing:0.1em;
  color:var(--pitch-darker);
  background:var(--gold);
  padding:5px 12px;
  border-radius:2px;
  margin-bottom:18px;
  transform:rotate(-2deg);
}
.story-quote{ font-size:16px; line-height:1.55; margin-bottom:22px; color:var(--chalk); }
.story-person{display:flex; align-items:center; gap:12px;}
.story-avatar{
  width:42px; height:42px; border-radius:50%;
  background:var(--gold); color:var(--pitch-darker);
  display:flex; align-items:center; justify-content:center;
  font-family:'Big Shoulders Display', sans-serif; font-weight:700; font-size:15px;
  overflow:hidden;
}
.story-avatar img{ width:100%; height:100%; object-fit:cover; }
.story-name{font-weight:600; font-size:14px;}
.story-role{font-size:12px; color:rgba(247,245,236,0.6);}

.stories.photo-mode .story-card{ display:none; }
.story-photo-card{ display:none; background:var(--pitch-darker); border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.stories.photo-mode .story-photo-card{ display:flex; flex-direction:column; }
.stories:not(.photo-mode) .story-photo-card{ display:none; }
.story-photo-media{ aspect-ratio:4/5; width:100%; position:relative; overflow:hidden; }
.story-photo-media img{ width:100%; height:100%; object-fit:cover; }
.story-photo-name{ padding:16px 18px 6px; font-family:'Big Shoulders Display', sans-serif; font-weight:700; font-size:20px; color:var(--chalk); }
.story-photo-role{ padding:0 18px; font-size:12px; color:rgba(247,245,236,0.6); margin-bottom:16px; }
.story-photo-card .btn{ margin:0 18px 18px; align-self:flex-start; }

/* ---------- Testimonials ---------- */
.testimonials{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .testimonials{grid-template-columns:1fr;} }
.testi-card{ background:#fff; border:1px solid var(--line-dark); border-radius:6px; padding:26px 22px; }
.testi-quote{font-size:15px; line-height:1.6; margin-bottom:20px;}
.testi-quote::before{content:"\201C"; color:var(--gold-dim); font-family:'Big Shoulders Display', sans-serif; font-size:32px; line-height:0; display:block; margin-bottom:6px;}
.testi-person{display:flex; align-items:center; gap:12px;}
.testi-avatar{
  width:38px; height:38px; border-radius:50%;
  background:var(--pitch-dark); color:var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:'Big Shoulders Display', sans-serif; font-weight:700; font-size:13px;
}
.testi-name{font-weight:600; font-size:13.5px;}
.testi-role{font-size:11.5px; color:var(--ink-soft);}

/* ---------- CTA banner ---------- */
.cta-band{ background:var(--gold); color:var(--pitch-darker); padding:64px 0; }
.cta-band-inner{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.cta-band h2{font-family:'Big Shoulders Display', sans-serif; font-weight:800; font-size:clamp(26px,3.4vw,38px);}
.cta-band p{font-size:14.5px; margin-top:6px; max-width:44ch; color:rgba(19,32,24,0.75);}

/* ---------- Footer ---------- */
footer{ background:var(--pitch-darker); color:rgba(247,245,236,0.7); padding:64px 0 28px; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px;
  padding-bottom:44px; border-bottom:1px solid var(--line);
}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr 1fr; row-gap:36px;} }
.footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.footer-logo img{ max-height:36px; width:auto; }
.footer-logo-word{ font-family:'Big Shoulders Display', sans-serif; font-weight:800; font-size:24px; color:var(--chalk); }
.footer-tag{font-size:13.5px; max-width:32ch; color:rgba(247,245,236,0.55);}
.footer-col h4{
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--gold); margin-bottom:16px;
}
.footer-col a, .footer-col li{ display:block; font-size:13.5px; margin-bottom:10px; color:rgba(247,245,236,0.7); }
.footer-col a:hover{color:var(--chalk);}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top:24px; font-size:12px; color:rgba(247,245,236,0.45);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay{
  position:fixed; inset:0; z-index:200;
  background:rgba(10,20,14,0.72);
  display:none;
  align-items:flex-start; justify-content:center;
  padding:40px 16px;
  overflow-y:auto;
}
.modal-overlay.open{ display:flex; }
.modal-box{
  background:var(--pitch-darker);
  color:var(--chalk);
  border-radius:8px;
  max-width:480px; width:100%;
  position:relative;
  margin:auto;
  box-shadow:0 40px 80px -20px rgba(0,0,0,0.6);
  animation:modalIn 0.25s ease;
}
@keyframes modalIn{ from{opacity:0; transform:translateY(12px);} to{opacity:1; transform:translateY(0);} }
.modal-close{
  position:absolute; top:14px; left:14px; z-index:5;
  width:34px; height:34px; border-radius:50%;
  background:rgba(10,20,14,0.55);
  border:1px solid rgba(247,245,236,0.3);
  color:var(--chalk);
  font-size:18px; line-height:1;
  display:flex; align-items:center; justify-content:center;
}
.modal-close:hover{ background:rgba(10,20,14,0.85); }

.modal-photo{
  position:relative;
  aspect-ratio:4/3;
  border-radius:8px 8px 0 0;
  overflow:hidden;
  display:flex; align-items:flex-end;
  background:repeating-linear-gradient(135deg, rgba(247,245,236,0.06) 0 10px, rgba(247,245,236,0.02) 10px 20px);
}
.modal-photo-inner{ padding:20px 22px; position:relative; z-index:1; }
.modal-first{ font-family:'Big Shoulders Display', sans-serif; font-weight:600; font-size:18px; color:rgba(247,245,236,0.85); }
.modal-last{ font-family:'Big Shoulders Display', sans-serif; font-weight:800; font-size:38px; line-height:1; color:var(--chalk); }
.modal-sub{ font-size:13px; font-weight:600; color:var(--gold); margin-top:6px; }

.modal-body{ padding:22px; }
.modal-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:14px 20px;
  padding-bottom:18px; margin-bottom:16px; border-bottom:1px solid var(--line);
}
.modal-grid .k{ font-family:'IBM Plex Mono', monospace; font-size:10px; letter-spacing:0.06em; text-transform:uppercase; color:rgba(247,245,236,0.5); display:block; margin-bottom:3px;}
.modal-grid .v{ font-weight:600; font-size:14.5px; }
.modal-link{ color:var(--teal); font-weight:600; font-size:14px; display:inline-block; margin-bottom:14px; }
.modal-link:hover{ text-decoration:underline; }
.modal-grade{ font-size:13.5px; margin-bottom:14px; color:rgba(247,245,236,0.85); }
.modal-grade strong{ color:var(--chalk); }
.modal-desc{ font-size:13.5px; line-height:1.65; color:rgba(247,245,236,0.75); }

.story-modal .modal-photo{ aspect-ratio:3/4; }

/* Profile submission form modal */
.form-modal .modal-body{ padding-top:56px; }
.form-modal h3{ font-family:'Big Shoulders Display', sans-serif; font-weight:800; font-size:26px; margin-bottom:6px; }
.form-modal .form-sub{ font-size:13.5px; color:rgba(247,245,236,0.6); margin-bottom:24px; }
.form-field{ margin-bottom:16px; }
.form-field label{ display:block; font-family:'IBM Plex Mono', monospace; font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; color:rgba(247,245,236,0.55); margin-bottom:7px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:12px 14px;
  background:rgba(247,245,236,0.06);
  border:1px solid rgba(247,245,236,0.2);
  border-radius:4px;
  color:var(--chalk);
  font-family:'IBM Plex Sans', sans-serif;
  font-size:14px;
}
.form-field input::placeholder, .form-field textarea::placeholder{ color:rgba(247,245,236,0.35); }
.form-field select{ appearance:none; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23F7F5EC' stroke-width='1.5' fill='none' fill-rule='evenodd'/></svg>"); background-repeat:no-repeat; background-position:right 14px center; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:2px solid var(--gold); outline-offset:1px; }
.form-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:480px){ .form-row-2{grid-template-columns:1fr;} }
.form-optional{ color:rgba(247,245,236,0.35); font-weight:400; text-transform:none; letter-spacing:0; }
.form-submit{ width:100%; justify-content:center; margin-top:6px; }
.form-note{ font-size:11.5px; color:rgba(247,245,236,0.45); margin-top:14px; line-height:1.5; }
.form-success{ display:none; text-align:center; padding:20px 4px 6px; }
.form-success .ph-icon{ font-size:32px; margin-bottom:10px; }
.form-success h4{ font-family:'Big Shoulders Display', sans-serif; font-size:22px; margin-bottom:8px; }
.form-success p{ font-size:13.5px; color:rgba(247,245,236,0.65); }

/* Contact page */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
@media (max-width:860px){ .contact-grid{grid-template-columns:1fr;} }
.contact-card{ background:var(--pitch-dark); color:var(--chalk); border-radius:8px; padding:32px 28px; }
.contact-line{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
.contact-line:last-child{ border-bottom:none; }
.contact-line .k{ font-family:'IBM Plex Mono', monospace; font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--gold); min-width:110px; }
.contact-line .v{ font-weight:600; font-size:15px; }
.contact-success{ background:var(--pitch-dark); color:var(--chalk); border-radius:6px; padding:18px 22px; margin-bottom:24px; font-size:14px; }

/* About page */
.about-block{ max-width:760px; margin-bottom:56px; }
.about-block h2{ font-family:'Big Shoulders Display', sans-serif; font-weight:800; font-size:clamp(26px,3.4vw,36px); margin-bottom:16px; }
.about-block p{ font-size:15px; color:var(--ink-soft); margin-bottom:14px; line-height:1.7; }
.about-features{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:820px){ .about-features{grid-template-columns:1fr;} }
.about-feature{ border-top:2px solid var(--pitch-dark); padding-top:18px; }
.about-feature h3{ font-family:'Big Shoulders Display', sans-serif; font-size:21px; font-weight:700; margin-bottom:8px; }
.about-feature p{ font-size:14px; color:var(--ink-soft); }

/* Generic page content fallback (for default WP content on custom templates) */
.page-content-block{ max-width:760px; }
.page-content-block h1,.page-content-block h2,.page-content-block h3{ font-family:'Big Shoulders Display', sans-serif; margin-bottom:14px; }
.page-content-block p{ margin-bottom:14px; line-height:1.7; color:var(--ink-soft); }

/* ---------- About page: editorial image + text rows ---------- */
.about-media-row{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:center; margin-bottom:88px; }
.about-media-row.reverse{ grid-template-columns:1.15fr 0.85fr; }
.about-media-row.reverse .about-media-figure{ order:2; }
.about-media-row.reverse .about-media-text{ order:1; }
@media (max-width:820px){
	.about-media-row, .about-media-row.reverse{ grid-template-columns:1fr; gap:28px; }
	.about-media-row.reverse .about-media-figure{ order:1; }
	.about-media-row.reverse .about-media-text{ order:2; }
}
.about-media-figure{ position:relative; }
.about-media-frame{
	position:relative; border-radius:6px; overflow:hidden; aspect-ratio:4/5;
}
.about-media-row.landscape .about-media-frame{ aspect-ratio:16/11; }
.about-media-frame img{ width:100%; height:100%; object-fit:cover; display:block; }
.about-media-frame::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--gold); }
.about-media-caption{
	margin-top:14px; font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.04em;
	color:var(--ink-soft); padding-left:14px; border-left:2px solid var(--gold);
}
.about-media-text h2{ font-family:'Big Shoulders Display', sans-serif; font-weight:800; font-size:clamp(26px,3.4vw,36px); margin-bottom:16px; }
.about-media-text p{ font-size:15px; color:var(--ink-soft); margin-bottom:14px; line-height:1.7; }

/* ---------- About page: continuous sliding photo strip ---------- */
.gallery-section{ background:var(--pitch-dark); color:var(--chalk); padding:72px 0; overflow:hidden; }
.gallery-head{ margin-bottom:40px; }
.gallery-head .eyebrow{ color:var(--gold); margin-bottom:14px; }
.gallery-head h2{ font-family:'Big Shoulders Display', sans-serif; font-weight:800; font-size:clamp(26px,3.4vw,36px); }
.gallery-head p{ color:rgba(247,245,236,0.65); font-size:14.5px; margin-top:10px; max-width:52ch; }
.marquee-viewport{ overflow:hidden; position:relative; }
.marquee-viewport::before, .marquee-viewport::after{ content:""; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none; }
.marquee-viewport::before{ left:0; background:linear-gradient(90deg, var(--pitch-dark), transparent); }
.marquee-viewport::after{ right:0; background:linear-gradient(270deg, var(--pitch-dark), transparent); }
.marquee-track{ display:flex; gap:20px; width:max-content; animation:marquee-scroll 32s linear infinite; }
.marquee-track:hover{ animation-play-state:paused; }
@keyframes marquee-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.marquee-item{
	flex:0 0 auto; width:260px; aspect-ratio:4/3; border-radius:6px; overflow:hidden;
	border:1px solid rgba(247,245,236,0.16);
}
.marquee-item img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Keep the photo strip sliding even for visitors whose device requests
   reduced motion — every other animation on the site still respects it. */
@media (prefers-reduced-motion: reduce){
	.marquee-track{ animation-duration:32s !important; animation-iteration-count:infinite !important; animation-name:marquee-scroll !important; }
}
/* ---------- Partners page ---------- */
.partners-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:36px; }
@media (max-width:900px){ .partners-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .partners-grid{ grid-template-columns:1fr; } }
.partner-card{ display:flex; flex-direction:column; }
.partner-photo{ position:relative; aspect-ratio:4/3; border-radius:6px; overflow:hidden; margin-bottom:14px; }
.partner-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.partner-photo::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--gold); }
.partner-name{ font-family:'Big Shoulders Display', sans-serif; font-weight:700; font-size:20px; margin-bottom:4px; }
.partner-tagline{
	font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.04em; color:var(--ink-soft);
	padding-left:12px; border-left:2px solid var(--gold); margin-bottom:10px;
}
.partner-bio{ font-size:14px; color:var(--ink-soft); line-height:1.65; }
.partner-bio p{ margin-bottom:10px; }