/* ============================================================
   PHOTIGY DESIGN SYSTEM — photigy.css
   Single source of truth for the school marketing pages.
   Extracted verbatim from the approved homepage (2026-07-20).

   Canonical brand tokens (decision Genia 2026-07-20):
     Site Navy  #27485c   <-- canonical navy (gate.css #253f52 should migrate to this)
     Photigy Red #cc0000
     Mist        #eff4f7
     Font: Lato (display+body), Belanosima only for promo accents

   Usage: <link rel="stylesheet" href="photigy.css">
   (adjust href to the deployed path, e.g. /school/assets/photigy.css)
   Page-specific styles stay in a small per-page <style> block —
   same pattern as gate.css + per-page styles.
   ============================================================ */

  :root{
    --logo-navy:#27405c;
    --site-navy:#27485c;
    --steel:#3f5765;
    --red:#cc0000;
    --red-dark:#a80000;
    --ink:#2b3a42;
    --text:#494949;
    --muted:#54595f;
    --ice:#bdd4de;
    --mist:#eff4f7;
    --white:#ffffff;
    --line:#d5e1e7;
    --container:1200px;
  }

  *,*::before,*::after{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:"Lato",Arial,Helvetica,sans-serif;
    font-weight:400;
    color:var(--text);
    background:var(--white);
    -webkit-font-smoothing:antialiased;
    line-height:1.6;
  }
  img{max-width:100%;display:block;}
  a{color:inherit;}
  h1,h2,h3,h4{margin:0;color:var(--ink);font-weight:900;line-height:1.15;}
  p{margin:0;}
  ul{margin:0;padding:0;list-style:none;}
  button{font-family:inherit;}

  .container{max-width:var(--container);margin:0 auto;padding:0 24px;}
  .section{padding:72px 0;}
  @media(max-width:640px){.section{padding:48px 0;}}

  .eyebrow{
    display:inline-block;
    font-size:13px;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--red);
    margin-bottom:12px;
  }
  .eyebrow.on-dark{color:var(--ice);}

  .section-head{max-width:720px;margin:0 0 40px;}
  .section-head h2{font-size:clamp(28px,4vw,40px);letter-spacing:-0.01em;}
  .section-head p{margin-top:14px;font-size:17px;color:var(--muted);}
  .section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

  /* Skip link */
  .skip-link{
    position:absolute;left:-9999px;top:0;background:var(--white);color:var(--ink);
    padding:12px 20px;z-index:1000;border-radius:0 0 8px 0;font-weight:700;
  }
  .skip-link:focus{left:0;}

  /* Two-tone ring: white inner ring keeps visibility on navy/dark sections,
     red outer ring keeps visibility on white/mist sections. Passes 3:1 on both. */
  a:focus-visible, button:focus-visible, .btn:focus-visible{
    outline:2px solid #fff;
    outline-offset:2px;
    box-shadow:0 0 0 4px var(--red);
    border-radius:4px;
  }

  /* Buttons */
  .btn{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:48px;padding:0 28px;border-radius:7px;
    font-size:16px;font-weight:700;text-decoration:none;
    border:1.5px solid transparent;white-space:nowrap;
    transition:background-color .15s ease, border-color .15s ease, color .15s ease;
    cursor:pointer;
  }
  .btn-red{background:var(--red);color:var(--white);border-color:var(--red);}
  .btn-red:hover{background:var(--red-dark);border-color:var(--red-dark);}
  .btn-navy{background:var(--site-navy);color:var(--white);border-color:var(--site-navy);}
  .btn-navy:hover{background:var(--logo-navy);border-color:var(--logo-navy);}
  .btn-outline-light{background:transparent;color:var(--white);border-color:rgba(255,255,255,.6);}
  .btn-outline-light:hover{background:rgba(255,255,255,.12);border-color:var(--white);}
  .btn-outline-navy{background:transparent;color:var(--site-navy);border-color:var(--site-navy);}
  .btn-outline-navy:hover{background:var(--mist);}
  .btn-sm{min-height:40px;padding:0 18px;font-size:14px;}
  .btn-block{width:100%;}

  .cta-row{display:flex;flex-wrap:wrap;gap:16px;}
  @media(max-width:480px){.cta-row .btn{width:100%;}}

  /* ===== Header ===== */
  header.site-header{
    background:var(--white);
    position:sticky;top:0;z-index:100;
    border-bottom:1px solid var(--line);
    box-shadow:0 2px 10px rgba(20,38,50,.12);
  }
  .header-inner{
    display:flex;align-items:center;justify-content:space-between;
    gap:24px;padding:14px 24px;flex-wrap:wrap;
  }
  .brand{display:flex;align-items:center;flex:0 0 auto;}
  .brand img{height:34px;width:auto;}
  nav.main-nav{display:flex;flex-wrap:wrap;gap:4px;flex:1 1 auto;justify-content:center;}
  nav.main-nav a{
    display:inline-flex;align-items:center;min-height:44px;padding:0 12px;
    color:var(--ink);font-size:14px;font-weight:700;text-decoration:none;border-radius:6px;
  }
  nav.main-nav a:hover, nav.main-nav a:focus-visible, nav.main-nav a.active{color:var(--red);background:var(--mist);}
  .header-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto;}
  .header-actions a.login{
    display:inline-flex;align-items:center;min-height:44px;padding:0 10px;
    color:var(--ink);font-size:14px;font-weight:700;text-decoration:none;
  }
  .header-actions a.login:hover{color:var(--red);text-decoration:underline;}

  @media(max-width:900px){
    .header-inner{justify-content:center;text-align:center;}
    nav.main-nav{order:3;width:100%;justify-content:center;padding-top:8px;border-top:1px solid var(--line);margin-top:8px;}
    .header-actions{order:2;}
  }

  /* ===== Hero ===== */
  /* Gradient backdrop is an intentional, brand-approved exception for the hero only
     (product box render needs a deep photographic-feeling backdrop to stand on). */
  .hero{
    position:relative;
    background:linear-gradient(135deg, #1d2d37 0%, #27485c 55%, #3f5765 100%);
    color:var(--white);
  }
  .hero-inner{
    padding:96px 24px 88px;max-width:var(--container);margin:0 auto;
    display:grid;grid-template-columns:1.15fr 0.85fr;gap:56px;align-items:center;
  }
  .hero-eyebrow{
    font-size:13px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;
    color:var(--ice);margin-bottom:18px;
  }
  .hero h1{
    color:var(--white);
    font-size:clamp(32px,4.6vw,52px);
    letter-spacing:-0.015em;
  }
  .hero .sub{
    margin-top:22px;max-width:520px;font-size:19px;color:#dce8ee;line-height:1.6;
  }
  .hero .cta-row{margin-top:34px;}
  .hero-stats{
    margin-top:48px;display:flex;flex-wrap:wrap;gap:28px 36px;
    border-top:1px solid rgba(255,255,255,.18);padding-top:28px;
  }
  .hero-stat{flex:0 0 auto;min-width:96px;}
  .hero-stat b{display:block;font-size:clamp(22px,3vw,30px);font-weight:900;color:var(--white);}
  .hero-stat span{display:block;margin-top:4px;font-size:13px;color:var(--ice);}

  .hero-visual{display:flex;align-items:center;justify-content:center;}
  .hero-box{
    width:100%;max-width:380px;height:auto;
    filter:drop-shadow(0 36px 48px rgba(0,0,0,.42)) drop-shadow(0 8px 16px rgba(0,0,0,.3));
  }

  @media(max-width:900px){
    .hero-inner{grid-template-columns:1fr;gap:40px;padding:56px 24px 48px;}
    .hero-box{max-width:220px;margin:0 auto;}
  }

  /* ===== Credibility strip ===== */
  .credibility{background:var(--mist);border-bottom:1px solid var(--line);}
  .credibility .container{
    padding-top:32px;padding-bottom:32px;
    display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
  }
  .cred-item{display:flex;gap:12px;align-items:flex-start;}
  .cred-item svg{flex:0 0 22px;margin-top:2px;}
  .cred-item p{font-size:14.5px;color:var(--ink);font-weight:700;line-height:1.4;}
  @media(max-width:900px){.credibility .container{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.credibility .container{grid-template-columns:1fr;}}

  /* ===== Course cards ===== */
  .course-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
  }
  @media(max-width:980px){.course-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.course-grid{grid-template-columns:1fr;}}

  .course-card{
    background:var(--white);border:1px solid var(--line);border-radius:12px;
    overflow:hidden;display:flex;flex-direction:column;
    box-shadow:0 10px 28px rgba(39,64,92,.10);
    transition:box-shadow .15s ease, transform .15s ease;
  }
  .course-card:hover{box-shadow:0 16px 40px rgba(39,64,92,.16);transform:translateY(-3px);}
  .course-card .thumb{aspect-ratio:1/1;overflow:hidden;background:var(--mist);}
  .course-card .thumb img{width:100%;height:100%;object-fit:cover;}
  .course-card .body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1;}
  .course-card h3{font-size:16px;font-weight:700;color:var(--ink);line-height:1.35;}
  .course-card .meta-row{
    margin-top:auto;display:flex;align-items:center;justify-content:space-between;
    padding-top:6px;
  }
  .course-card .price{font-size:18px;font-weight:900;color:var(--ink);}
  .course-card .view-link{
    color:var(--red);font-weight:700;font-size:14px;text-decoration:none;
    min-height:44px;display:inline-flex;align-items:center;
  }
  .course-card .view-link:hover{text-decoration:underline;}

  .spotlight{background:var(--mist);}
  .genre-strip{background:var(--white);}

  .catalog-cta{margin-top:40px;text-align:center;}

  .chip-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px;}
  .chip{
    display:inline-flex;align-items:center;min-height:40px;padding:0 16px;
    border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:700;
    color:var(--steel);background:var(--mist);
  }

  /* ===== Pro Club / How we teach ===== */
  .feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
  @media(max-width:980px){.feature-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.feature-grid{grid-template-columns:1fr;}}
  .feature-card{
    background:var(--white);border:1px solid var(--line);
    border-radius:10px;padding:24px 20px;
    box-shadow:0 6px 18px rgba(39,64,92,.06);
  }
  .feature-card .mark{
    width:10px;height:10px;border-radius:2px;background:var(--site-navy);
    margin-bottom:16px;
  }
  .feature-card h3{font-size:16px;margin-bottom:8px;}
  .feature-card p{font-size:14.5px;color:var(--muted);}

  /* ===== Founders ===== */
  .founders{background:var(--mist);}
  .founders-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;}
  @media(max-width:860px){.founders-grid{grid-template-columns:1fr;}}
  .founder-cards{display:flex;gap:20px;flex-wrap:wrap;}
  .founder-card{
    flex:1 1 220px;background:var(--white);border:1px solid var(--line);border-radius:12px;
    padding:24px;text-align:left;
    box-shadow:0 10px 28px rgba(39,64,92,.08);
  }
  .founder-photo{
    width:88px;height:88px;border-radius:16px;object-fit:cover;
    border:1px solid var(--line);background:var(--mist);
    margin-bottom:14px;
  }
  .founder-card h3{font-size:17px;margin-bottom:4px;}
  .founder-card .role{font-size:13px;color:var(--red);font-weight:700;text-transform:uppercase;letter-spacing:.03em;margin-bottom:12px;}
  .founder-card p{font-size:14.5px;color:var(--muted);}
  .founders-copy p{font-size:16px;color:var(--text);margin-bottom:16px;}
  .founders-copy p:last-child{margin-bottom:0;}

  /* ===== NeuroViz bridge (compact banner) ===== */
  .nv-band{padding:36px 0;}
  .nv-block{
    display:flex;flex-wrap:wrap;gap:24px;align-items:center;
    background:var(--white);border:1px solid var(--line);border-top:4px solid var(--red);
    border-radius:14px;padding:18px 26px;text-decoration:none;color:inherit;
    box-shadow:0 16px 40px rgba(39,64,92,.12);transition:box-shadow .15s;
  }
  .nv-block:hover{box-shadow:0 20px 48px rgba(39,64,92,.18);}
  .nv-text{flex:1 1 320px;min-width:280px;}
  .nv-tag{
    display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
    color:var(--red);background:rgba(204,0,0,.08);padding:3px 10px;border-radius:999px;margin-bottom:8px;
  }
  .nv-block .nv-title{font-size:20px;font-weight:900;color:var(--ink);margin-bottom:5px;line-height:1.15;}
  .nv-block .nv-copy{font-size:13.5px;color:var(--muted);max-width:520px;margin-bottom:9px;line-height:1.45;}
  .nv-cta{font-size:14px;font-weight:700;color:var(--red);}
  .nv-images{display:flex;gap:10px;flex:0 1 auto;margin-left:auto;align-items:center;}
  .nv-images img{
    width:clamp(84px,9vw,116px);height:clamp(84px,9vw,116px);
    object-fit:cover;border-radius:10px;border:1px solid var(--line);
  }
  @media(max-width:480px){
    .nv-block{padding:20px;}
    .nv-images{gap:8px;}
  }

  /* ===== Certification band ===== */
  .cert-band{background:var(--site-navy);color:var(--white);}
  .cert-band h2{color:var(--white);}
  .cert-band .sub{color:var(--mist);margin-top:16px;font-size:17px;max-width:640px;}
  .cert-band .cta-row{margin-top:30px;}

  /* ===== Pricing ===== */
  .price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  @media(max-width:900px){.price-grid{grid-template-columns:1fr;max-width:420px;margin:0 auto;}}
  .price-card{
    background:var(--white);border:1px solid var(--line);border-radius:12px;
    padding:32px 28px;display:flex;flex-direction:column;
    box-shadow:0 14px 36px rgba(39,64,92,.10);
  }
  .price-card.featured{border:2px solid var(--red);position:relative;box-shadow:0 20px 48px rgba(39,64,92,.16);}
  .price-card .badge{
    position:absolute;top:-14px;left:28px;background:var(--red);color:var(--white);
    font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
    padding:6px 14px;border-radius:999px;
  }
  .price-card h3{font-size:18px;margin-bottom:6px;}
  .price-card .amount{font-size:38px;font-weight:900;color:var(--ink);margin:10px 0 2px;}
  .price-card .amount span{font-size:16px;font-weight:700;color:var(--muted);}
  .price-card .per{font-size:13.5px;color:var(--muted);margin-bottom:20px;}
  .price-card ul{margin-bottom:24px;}
  .price-card li{
    font-size:14.5px;color:var(--text);padding-left:24px;position:relative;margin-bottom:10px;
  }
  .price-card li::before{
    content:"";position:absolute;left:0;top:6px;width:14px;height:14px;
    background:var(--site-navy);border-radius:3px;
  }
  .price-card .btn{margin-top:auto;}

  .guarantee-pill{
    display:inline-flex;align-items:center;gap:10px;margin-top:32px;
    background:var(--mist);border:1px solid var(--line);border-radius:999px;
    padding:12px 22px;font-size:14px;font-weight:700;color:var(--ink);
  }
  .pricing-footnote{margin-top:20px;font-size:14.5px;}
  .pricing-footnote a{color:var(--red);font-weight:700;text-decoration:none;}
  .pricing-footnote a:hover{text-decoration:underline;}

  /* ===== Testimonials ===== */
  .testimonials{background:var(--mist);}
  .testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  @media(max-width:900px){.testi-grid{grid-template-columns:1fr;}}
  .testi-card{
    background:var(--white);border:1px solid var(--line);
    border-radius:10px;padding:26px 24px;
    box-shadow:0 10px 28px rgba(39,64,92,.08);
  }
  .testi-card p.quote{font-size:15.5px;color:var(--ink);line-height:1.65;font-style:italic;}
  .testi-person{display:flex;align-items:center;gap:12px;margin-top:18px;}
  .testi-avatar{
    flex:0 0 44px;width:44px;height:44px;border-radius:50%;
    object-fit:cover;border:2px solid var(--white);
    box-shadow:0 0 0 1px var(--line);
  }
  .testi-card .attr{font-size:13.5px;font-weight:700;color:var(--steel);font-style:normal;}

  /* ===== Final CTA ===== */
  .final-cta{background:var(--mist);text-align:center;}
  .final-cta .accent{
    font-family:"Belanosima",sans-serif;font-weight:600;font-size:22px;color:var(--red);
    margin-bottom:14px;
  }
  .final-cta h2{font-size:clamp(26px,4vw,38px);max-width:640px;margin:0 auto;}
  .final-cta .sub{margin:18px auto 0;max-width:520px;font-size:17px;color:var(--muted);}
  .final-cta .cta-row{justify-content:center;margin-top:30px;}

  /* ===== Footer ===== */
  footer.site-footer{background:var(--site-navy);color:#c9d8e0;border-top:4px solid var(--red);}
  .footer-inner{padding:56px 24px 28px;max-width:var(--container);margin:0 auto;}
  .footer-brand{margin-bottom:36px;}
  .footer-brand img{height:32px;}
  .footer-cols{
    display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin-bottom:36px;
  }
  @media(max-width:760px){.footer-cols{grid-template-columns:repeat(2,1fr);}}
  .footer-cols h3{color:var(--white);font-size:14px;letter-spacing:.03em;text-transform:uppercase;margin-bottom:14px;}
  .footer-cols a{
    display:flex;align-items:center;min-height:32px;width:fit-content;
    color:#a9c0cd;font-size:14.5px;text-decoration:none;margin-bottom:2px;
  }
  .footer-cols a:hover{color:var(--white);}
  .footer-bottom{
    border-top:1px solid rgba(255,255,255,.14);padding-top:22px;
    display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
    font-size:13.5px;color:#a9c0cd;
  }
  .footer-bottom a{color:#a9c0cd;text-decoration:underline;}
  .footer-bottom a:hover{color:var(--white);}

  .visually-hidden{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
    clip:rect(0,0,0,0);white-space:nowrap;border:0;
  }

/* ===== Subpage components (added with the design kit, 2026-07-20) =====
   Used by templates/ and rebuilt inner pages. Not used on the homepage. */

/* Simple navy page header band (info/text pages; course pages use .hero) */
.page-band{background:var(--site-navy);color:var(--white);}
.page-band .container{padding-top:64px;padding-bottom:64px;}
.page-band h1{color:var(--white);font-size:clamp(30px,4.5vw,44px);letter-spacing:-0.015em;}
.page-band .sub{margin-top:16px;max-width:640px;font-size:18px;color:#dce8ee;line-height:1.6;}

/* Breadcrumbs */
.crumbs{font-size:13.5px;margin-bottom:16px;color:var(--ice);}
.crumbs a{color:inherit;text-decoration:none;}
.crumbs a:hover{text-decoration:underline;}
.crumbs .sep{margin:0 6px;opacity:.6;}
.on-light .crumbs, .crumbs.on-light{color:var(--muted);}

/* Long-form typographic flow (about, legal, article-like sections) */
.prose{max-width:760px;}
.prose p{margin:0 0 16px;font-size:16.5px;line-height:1.7;}
.prose h2{font-size:26px;margin:36px 0 14px;}
.prose h3{font-size:19px;margin:28px 0 10px;}
.prose ul{list-style:disc;padding-left:22px;margin:0 0 16px;}
.prose li{margin-bottom:8px;}
.prose a{color:var(--red);font-weight:700;}
.prose img{border-radius:10px;border:1px solid var(--line);margin:8px 0 16px;}

/* Course hero cover (square JPG render/photo instead of transparent box PNG) */
.hero-cover{
  width:100%;max-width:380px;height:auto;border-radius:14px;
  box-shadow:0 36px 48px rgba(0,0,0,.42), 0 8px 16px rgba(0,0,0,.3);
}
@media(max-width:900px){.hero-cover{max-width:260px;margin:0 auto;}}

/* Sample-photo grid (course "results" gallery) */
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
@media(max-width:700px){.photo-grid{grid-template-columns:1fr;}}
.photo-grid img{width:100%;border-radius:10px;border:1px solid var(--line);}
