/* =============================================================
   JTA3 SOLUTIONS LLC — STYLESHEET
   Design language: navy / white / light gray / subtle gold.
   Signature motif: the "ledger line" — a thin ruled line with
   a small tick marker, echoing a financial statement entry and
   the idea of one chapter of a business being carried into the
   next. Used sparingly as a structural device throughout.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root{
  --navy-900:#0A1B33;
  --navy-800:#0F2542;
  --navy-700:#16325C;
  --navy-600:#1E3E6D;
  --gold-500:#AD8A4E;
  --gold-400:#C6A567;
  --gold-200:#E6D6B3;
  --white:#FFFFFF;
  --gray-50:#F6F7F9;
  --gray-100:#EEF0F3;
  --gray-200:#E1E5EB;
  --gray-300:#C9D0DA;
  --slate-700:#3C4657;
  --slate-500:#5B6577;
  --slate-400:#818B9C;

  --font-display:'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:'IBM Plex Mono', 'Courier New', monospace;

  --max-width:1180px;
  --radius-sm:4px;
  --radius-md:6px;
  --shadow-card: 0 1px 2px rgba(10,27,51,0.06), 0 8px 24px -12px rgba(10,27,51,0.14);
  --shadow-lift: 0 20px 48px -20px rgba(10,27,51,0.35);
  --ease: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--slate-700);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy-900);
  line-height:1.15;
  margin:0 0 0.5em;
  font-weight:600;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem, 4.4vw, 3.8rem); font-weight:500; }
h2{ font-size:clamp(1.8rem, 3vw, 2.5rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1.1em; color:var(--slate-500); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

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

.eyebrow{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--gold-500);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  font-weight:500;
}
.eyebrow::before{
  content:"";
  width:22px;
  height:1px;
  background:var(--gold-500);
  display:inline-block;
}

/* ---------- Ledger line motif ---------- */
.ledger-rule{
  position:relative;
  height:1px;
  background:var(--gray-200);
  margin:64px 0;
}
.ledger-rule::after{
  content:"";
  position:absolute;
  top:-3px; left:0;
  width:7px; height:7px;
  border-radius:50%;
  background:var(--gold-500);
}
.ledger-rule.on-dark{ background:rgba(255,255,255,0.14); }
.ledger-rule.on-dark::after{ background:var(--gold-400); }

/* ---------- Skip link / focus ---------- */
.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--navy-900); color:var(--white);
  padding:12px 20px; z-index:1000; border-radius:var(--radius-sm);
}
.skip-link:focus{ left:16px; top:16px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--gold-500);
  outline-offset:3px;
}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:500;
  background:rgba(10,27,51,0.97);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  color:var(--white); font-family:var(--font-display);
  font-size:1.15rem; letter-spacing:0.01em;
}
.brand .mark{
  width:34px; height:34px; flex:none;
}
.brand small{
  display:block; font-family:var(--font-mono); font-size:0.6rem;
  letter-spacing:0.14em; color:var(--gold-400); font-weight:500; text-transform:uppercase;
  margin-top:2px;
}
.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav a{
  color:rgba(255,255,255,0.82);
  font-size:0.92rem;
  padding:10px 16px;
  border-radius:var(--radius-sm);
  transition:color .2s var(--ease), background .2s var(--ease);
}
.main-nav a:hover{ color:var(--white); background:rgba(255,255,255,0.06); }
.main-nav a.current{ color:var(--white); }
.main-nav a.current{ position:relative; }
.main-nav a.current::after{
  content:""; position:absolute; left:16px; right:16px; bottom:6px; height:1px; background:var(--gold-400);
}
.nav-cta{
  margin-left:8px;
  background:var(--gold-500);
  color:var(--navy-900) !important;
  font-weight:600;
  padding:10px 20px !important;
  border-radius:var(--radius-sm);
}
.nav-cta:hover{ background:var(--gold-400); }

.nav-toggle{
  display:none;
  background:none; border:none; color:var(--white); cursor:pointer;
  width:44px; height:44px; padding:0;
  align-items:center; justify-content:center;
}
.nav-toggle .bars{ position:relative; width:22px; height:16px; }
.nav-toggle .bars span{
  position:absolute; left:0; width:100%; height:1.5px; background:currentColor;
  transition:transform .25s var(--ease), opacity .25s var(--ease), top .25s var(--ease);
}
.nav-toggle .bars span:nth-child(1){ top:0; }
.nav-toggle .bars span:nth-child(2){ top:7px; }
.nav-toggle .bars span:nth-child(3){ top:14px; }
.nav-open .nav-toggle .bars span:nth-child(1){ top:7px; transform:rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2){ opacity:0; }
.nav-open .nav-toggle .bars span:nth-child(3){ top:7px; transform:rotate(-45deg); }

@media (max-width:920px){
  .main-nav{
    position:fixed; inset:76px 0 0 0;
    background:var(--navy-900);
    flex-direction:column; align-items:stretch;
    padding:12px 20px 32px;
    transform:translateY(-8px);
    opacity:0; visibility:hidden;
    transition:opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    overflow-y:auto;
  }
  .nav-open .main-nav{ opacity:1; visibility:visible; transform:translateY(0); }
  .main-nav a{ padding:16px 6px; border-bottom:1px solid rgba(255,255,255,0.08); font-size:1.05rem; }
  .nav-cta{ margin:16px 6px 0; text-align:center; }
  .nav-toggle{ display:flex; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 28px;
  border-radius:var(--radius-sm);
  font-size:0.95rem; font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space:nowrap;
}
.btn-primary{ background:var(--gold-500); color:var(--navy-900); }
.btn-primary:hover{ background:var(--gold-400); transform:translateY(-1px); }
.btn-ghost-dark{ border-color:rgba(255,255,255,0.35); color:var(--white); }
.btn-ghost-dark:hover{ border-color:var(--white); background:rgba(255,255,255,0.06); }
.btn-ghost-light{ border-color:var(--navy-700); color:var(--navy-800); }
.btn-ghost-light:hover{ background:var(--navy-900); color:var(--white); }
.btn-block{ width:100%; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color:var(--white);
  overflow:hidden;
  padding:96px 0 88px;
}
.hero .container{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; position:relative; z-index:2;
}
.hero h1{ color:var(--white); }
.hero h1 em{ font-style:italic; color:var(--gold-400); }
.hero p.lead{
  font-size:1.15rem; color:rgba(255,255,255,0.72); max-width:520px; margin-bottom:36px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-stats{
  display:flex; gap:36px; margin-top:56px; flex-wrap:wrap;
}
.hero-stats div{ border-left:1px solid rgba(255,255,255,0.16); padding-left:16px; }
.hero-stats strong{ display:block; font-family:var(--font-display); font-size:1.5rem; color:var(--white); }
.hero-stats span{ font-size:0.78rem; color:rgba(255,255,255,0.55); letter-spacing:0.02em; }

.hero-visual{ position:relative; }
.hero-visual svg{ width:100%; height:auto; }

/* Diagram build-in animation for the continuity graphic */
.jta3-diagram .node-fill{ transform-origin:center; animation:pop .6s var(--ease) both; }
.jta3-diagram .path-line{ stroke-dasharray:340; stroke-dashoffset:340; animation:draw 1.4s var(--ease) 0.2s forwards; }
.jta3-diagram .node-2{ animation-delay:0.9s; }
.jta3-diagram .label{ opacity:0; animation:fadeUp .6s var(--ease) 1.3s forwards; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes pop{ from{ transform:scale(0.4); opacity:0; } to{ transform:scale(1); opacity:1; } }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(6px);} to{ opacity:1; transform:translateY(0);} }

/* ---------- Sections ---------- */
section{ padding:96px 0; }
.section-tight{ padding:72px 0; }
.section-gray{ background:var(--gray-50); }
.section-navy{ background:var(--navy-900); color:rgba(255,255,255,0.85); }
.section-navy h2, .section-navy h3{ color:var(--white); }
.section-navy p{ color:rgba(255,255,255,0.62); }

.section-head{ max-width:680px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before{ display:none; }

/* ---------- Grids / Cards ---------- */
.grid{ display:grid; gap:32px; }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
.grid-4{ grid-template-columns:repeat(4, 1fr); }

.card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius-md);
  padding:32px;
  transition:box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover{ box-shadow:var(--shadow-card); transform:translateY(-3px); }
.card .icon{ width:40px; height:40px; margin-bottom:20px; color:var(--gold-500); }
.card h3{ margin-bottom:10px; font-size:1.15rem; }
.card p{ margin-bottom:0; font-size:0.95rem; }

.industry-card{
  background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius-md);
  padding:24px 22px; display:flex; align-items:center; gap:16px;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.industry-card:hover{ border-color:var(--gold-500); background:var(--gray-50); }
.industry-card .icon{ width:30px; height:30px; flex:none; color:var(--navy-700); }
.industry-card span{ font-weight:600; color:var(--navy-900); font-size:0.98rem; }

.criteria-list{ display:flex; flex-direction:column; gap:18px; }
.criteria-list li{
  display:flex; gap:16px; align-items:flex-start;
  padding-bottom:18px; border-bottom:1px solid var(--gray-200);
}
.criteria-list li:last-child{ border-bottom:none; padding-bottom:0; }
.criteria-list .num{
  font-family:var(--font-mono); color:var(--gold-500); font-size:0.85rem; padding-top:3px; flex:none; width:28px;
}
.criteria-list h4{ margin:0 0 4px; font-family:var(--font-body); font-size:1rem; color:var(--navy-900); font-weight:700; }
.criteria-list p{ margin:0; font-size:0.92rem; }

/* ---------- Process timeline ---------- */
.timeline{ position:relative; }
.timeline::before{
  content:""; position:absolute; left:27px; top:8px; bottom:8px; width:1px;
  background:var(--gray-300);
}
.timeline-step{ position:relative; padding-left:76px; margin-bottom:52px; }
.timeline-step:last-child{ margin-bottom:0; }
.timeline-step .marker{
  position:absolute; left:0; top:0; width:56px; height:56px; border-radius:50%;
  background:var(--navy-900); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:0.85rem; border:1px solid var(--gold-500);
}
.timeline-step h3{ margin-bottom:8px; }
.timeline-step .step-meta{ font-family:var(--font-mono); font-size:0.72rem; color:var(--slate-400); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:6px; display:block; }

/* ---------- About / bio ---------- */
.bio-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:start; }
.bio-portrait{
  position:relative; border-radius:var(--radius-md); overflow:hidden;
  background:var(--navy-900);
}
.bio-portrait img{ width:100%; }
.bio-credentials{ margin-top:24px; display:flex; flex-direction:column; gap:14px; }
.bio-credentials li{ display:flex; gap:12px; align-items:center; font-size:0.92rem; color:var(--navy-800); font-weight:600; }
.bio-credentials .dot{ width:6px; height:6px; border-radius:50%; background:var(--gold-500); flex:none; }

.pull-quote{
  border-left:2px solid var(--gold-500);
  padding-left:24px; margin:40px 0;
  font-family:var(--font-display); font-size:1.3rem; color:var(--navy-900); font-style:italic;
}

/* ---------- Values ---------- */
.value-row{
  display:grid; grid-template-columns:220px 1fr; gap:32px; padding:28px 0; border-bottom:1px solid var(--gray-200);
}
.value-row:first-child{ padding-top:0; }
.value-row h3{ margin:0; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--gray-200); }
.faq-item:first-child{ border-top:1px solid var(--gray-200); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:26px 4px; font-family:var(--font-display); font-size:1.08rem; color:var(--navy-900);
}
.faq-q .plus{
  flex:none; width:22px; height:22px; position:relative;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background:var(--gold-500); transition:transform .25s var(--ease), opacity .25s var(--ease);
}
.faq-q .plus::before{ left:0; top:10px; width:22px; height:1.5px; }
.faq-q .plus::after{ left:10px; top:0; width:1.5px; height:22px; }
.faq-item.open .faq-q .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .35s var(--ease);
}
.faq-a p{ padding:0 4px 26px; max-width:70ch; font-size:0.98rem; }
.faq-item.open .faq-a{ max-height:400px; }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--navy-900);
  color:var(--white);
  padding:72px 0;
  position:relative;
  overflow:hidden;
}
.cta-band .container{ position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cta-band h2{ color:var(--white); margin-bottom:6px; }
.cta-band p{ color:rgba(255,255,255,0.6); margin:0; }
.cta-band-text{ max-width:520px; }

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-field{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.form-field.full{ grid-column:1 / -1; }
.form-field label{ font-size:0.85rem; font-weight:600; color:var(--navy-900); }
.form-field .req{ color:var(--gold-500); }
.form-field input, .form-field textarea, .form-field select{
  font-family:inherit; font-size:0.98rem; padding:14px 16px;
  border:1px solid var(--gray-300); border-radius:var(--radius-sm);
  background:var(--white); color:var(--navy-900);
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{
  border-color:var(--gold-500); box-shadow:0 0 0 3px rgba(173,138,78,0.15); outline:none;
}
.form-field textarea{ resize:vertical; min-height:140px; }
.form-note{ font-size:0.82rem; color:var(--slate-400); margin-top:-8px; }
.form-status{ margin-top:18px; font-size:0.92rem; }
.form-status.success{ color:#2E6B4F; }
.form-status.error{ color:#A3372F; }

.contact-info-card{
  background:var(--navy-900); color:var(--white); border-radius:var(--radius-md);
  padding:40px; height:100%;
}
.contact-info-card h3{ color:var(--white); }
.contact-info-card p{ color:rgba(255,255,255,0.62); }
.contact-line{ display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.contact-line .icon{ width:20px; height:20px; flex:none; color:var(--gold-400); margin-top:2px; }
.contact-line a, .contact-line span{ color:var(--white); font-weight:500; }
.confidentiality-note{
  margin-top:32px; padding-top:24px; border-top:1px solid rgba(255,255,255,0.14);
  font-size:0.85rem; color:rgba(255,255,255,0.55);
}

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-900); color:rgba(255,255,255,0.55); padding:64px 0 32px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand p{ color:rgba(255,255,255,0.5); font-size:0.9rem; max-width:320px; }
.footer-col h4{ color:var(--white); font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:16px; font-weight:500; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ color:rgba(255,255,255,0.62); font-size:0.92rem; transition:color .2s var(--ease); }
.footer-col a:hover{ color:var(--gold-400); }
.footer-bottom{
  padding-top:28px; border-top:1px solid rgba(255,255,255,0.1);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
  font-size:0.82rem; color:rgba(255,255,255,0.4);
}
.footer-social{ display:flex; gap:14px; }
.footer-social a{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ border-color:var(--gold-400); color:var(--gold-400); }
.footer-social svg{ width:16px; height:16px; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ---------- Breadcrumb / page intro (interior pages) ---------- */
.page-intro{
  background:linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color:var(--white); padding:64px 0 72px;
}
.page-intro .eyebrow{ color:var(--gold-400); }
.page-intro h1{ color:var(--white); max-width:760px; }
.page-intro p.lead{ color:rgba(255,255,255,0.65); max-width:620px; font-size:1.05rem; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }
.small-caps-label{ font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--slate-400); }

/* ---------- Responsive ---------- */
@media (max-width:920px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:420px; margin:0 auto 24px; }
  .bio-grid{ grid-template-columns:1fr; }
  .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .value-row{ grid-template-columns:1fr; gap:10px; }
}
@media (max-width:640px){
  section{ padding:64px 0; }
  .grid-3, .grid-2, .grid-4{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; gap:32px; }
  .cta-band .container{ flex-direction:column; align-items:flex-start; }
  .hero{ padding:64px 0 56px; }
  .hero-stats{ gap:24px; }
}
