/* =====================================================================
   FinSyncBook – ONE RATIO FOR EVERY SCREEN (tablet → 4K)
   ---------------------------------------------------------------------
   Every part of the site (header, every section, footer) is scaled as
   one piece with CSS zoom, so each screen shows the SAME layout and
   proportions as the reference design – only bigger or smaller.

     screen width     reference design         --fs-zoom
     1200px and up    your 1465px laptop       width / 1465
     992 – 1199px     tablet landscape (992)   width / 992
     768 – 991px      tablet portrait  (768)   width / 768
     below 768px      phones – no scaling      1

   The hero also fits the screen height (like the 1465 × 832 screenshot):
     --fs-hero-zoom = min(width / 1465, height / 832) ÷ --fs-zoom

   Both values are set by the small script in <head> of
   front/layouts/master.blade.php.
   ===================================================================== */


/* ---------------------------------------------------------------------
   Scale every part of the page
   --------------------------------------------------------------------- */
@media only screen and (min-width: 768px) {
    .fs-header,                 /* desktop + sticky header        */
    #primary > *,               /* every section of every page    */
    .tj-footer-section {       /* footer                          */
        zoom: var(--fs-zoom, 1);
    }
}


/* ---------------------------------------------------------------------
   Desktop (1200px +) – lock everything to the 1465px reference design
   --------------------------------------------------------------------- */
@media only screen and (min-width: 1200px) {

    /* same content width as the reference (Bootstrap would use 1140 below 1400) */
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1320px; }

    /* hero: also fit the screen height, like the screenshot */
    .fs-hero .fs-hero__container { zoom: var(--fs-hero-zoom, 1); }
    .fs-hero .fs-card__title { font-size: 24px; }

    /* headings sized with vw: fixed at their reference (1465px) value so zoom does not scale them twice */
    .fs-indp .fs-indp__title      { font-size: 46px; }
    .fs-indp .fs-indp__name       { font-size: 44px; }
    .fs-blog .fs-blog__title      { font-size: 50px; }
    .fs-cert__title               { font-size: 50px; }
    .fs-contact__title            { font-size: 44px; }
    .fs-proc__title               { font-size: 54px; }
    .fs-bento .fs-bento__title    { font-size: 46px; }
    .fs-hero .fs-title            { font-size: 50px; }
    .fs-tech-sec__number          { font-size: 118px; }
    .fs-tech-sec__title           { font-size: 50px; }
    .fs-why__title                { font-size: 52px; }
    .fs-ph .fs-ph__title          { font-size: 56px; }
    .fs-cta .fs-cta__title        { font-size: 44px; }
    .fs-ab .fs-ab__h2             { font-size: 44px; }
    .fs-bl .fs-bl__h2             { font-size: 44px; }
    .fs-bl .fs-bl__featured-title { font-size: 32px; }
    .fs-ct .fs-ct__h2             { font-size: 46px; }
    .fs-dm__title                 { font-size: 34px; }
    .fs-pf .fs-pf__h2             { font-size: 50px; }
    .fs-hs .fs-hs__h2             { font-size: 50px; }
    .fs-hs__year                  { font-size: 62px; }
    .fs-hs .fs-hs__next h3        { font-size: 34px; }
    .fs-indl .fs-indl__title      { font-size: 44px; }
    .fs-sd .fs-sd__title          { font-size: 38px; }
    .fs-sd .fs-sd__h3             { font-size: 30px; }
    .fs-tm .fs-tm__h2             { font-size: 50px; }
    .fs-tm .fs-tm__name           { font-size: 38px; }
    .fs-td .fs-td__hello          { font-size: 50px; }
    .fs-td .fs-td__h3             { font-size: 28px; }
}
