/* ============================================================
   Graphical Guru Studio — type system
   Space Grotesk Bold display + General Sans + DM Mono labels
   ============================================================ */

@font-face{
  font-family:"Space Grotesk";
  font-style:normal;
  font-weight:300 700;
  font-display:swap;
  src:url("./fonts/space-grotesk-latin.woff2") format("woff2");
}
@font-face{
  font-family:"Satoshi";
  font-style:normal;
  font-weight:300 900;
  font-display:swap;
  src:url("./fonts/satoshi-variable.woff2") format("woff2");
}
@font-face{
  font-family:"Manrope";
  font-style:normal;
  font-weight:200 800;
  font-display:swap;
  src:url("./fonts/manrope-latin.woff2") format("woff2");
}
@font-face{
  font-family:"Plus Jakarta Sans";
  font-style:normal;
  font-weight:200 800;
  font-display:swap;
  src:url("./fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face{
  font-family:"General Sans";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("./fonts/general-sans-400.woff2") format("woff2");
}
@font-face{
  font-family:"General Sans";
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url("./fonts/general-sans-500.woff2") format("woff2");
}
@font-face{
  font-family:"General Sans";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("./fonts/general-sans-600.woff2") format("woff2");
}
@font-face{
  font-family:"General Sans";
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url("./fonts/general-sans-700.woff2") format("woff2");
}

/* GG_TYPOGRAPHY_START */
:root{
  --font-heading:"Space Grotesk","General Sans","Helvetica Neue",Arial,sans-serif;
  --font-subheading:"General Sans","Helvetica Neue",Arial,sans-serif;
  --font-body:"General Sans","Helvetica Neue",Arial,sans-serif;
  --font-mono:"DM Mono","SFMono-Regular",Consolas,monospace;
  --display:var(--font-heading);
  --body:var(--font-body);
  --sans:var(--font-body);

  --weight-hero:700;
  --weight-section:700;
  --weight-subheading:600;
  --weight-portfolio:600;
  --weight-body:400;
  --weight-nav:500;
  --weight-button:500;

  --hero-size-desktop:96px;
  --hero-size-mobile:34px;
  --section-size-desktop:62px;
  --section-size-mobile:28px;
  --service-size-desktop:48px;
  --service-size-mobile:26px;
  --subhead-size-desktop:26px;
  --subhead-size-mobile:20px;
  --portfolio-size-desktop:30px;
  --portfolio-size-mobile:21px;
  --body-size-desktop:16px;
  --body-size-mobile:16px;
  --nav-size-desktop:12px;
  --nav-size-mobile:12px;
  --button-size-desktop:13px;
  --button-size-mobile:12px;

  --tracking-hero:-.025em;
  --tracking-section:-.02em;
  --tracking-subheading:-.005em;
  --tracking-body:0em;
  --tracking-hero-mobile:-.02em;
  --tracking-section-mobile:-.015em;
  --tracking-subheading-mobile:-.005em;
  --tracking-body-mobile:0em;

  --leading-hero:1.02;
  --leading-section:1.06;
  --leading-subheading:1.3;
  --leading-body:1.65;
  --leading-hero-mobile:1.08;
  --leading-section-mobile:1.1;
  --leading-subheading-mobile:1.3;
  --leading-body-mobile:1.65;
}
@media (max-width:680px){
  :root{
    --tracking-hero:var(--tracking-hero-mobile);
    --tracking-section:var(--tracking-section-mobile);
    --tracking-subheading:var(--tracking-subheading-mobile);
    --tracking-body:var(--tracking-body-mobile);
    --leading-hero:var(--leading-hero-mobile);
    --leading-section:var(--leading-section-mobile);
    --leading-subheading:var(--leading-subheading-mobile);
    --leading-body:var(--leading-body-mobile);
    --nav-size:var(--nav-size-mobile);
    --button-size:var(--button-size-mobile);
  }
}
/* GG_TYPOGRAPHY_END */

body{
  font-family:var(--font-body);
  font-weight:var(--weight-body);
  font-size:clamp(var(--body-size-mobile),1.1vw,var(--body-size-desktop));
  line-height:var(--leading-body);
  letter-spacing:var(--tracking-body);
}

/* Main display headings — Space Grotesk Bold */
.hero-title,
.h2,
.page-hero .h2,
.portfolio-intro h1,
.portfolio-gallery-head h2,
.portfolio-featured__head h2,
.gg-drive-gallery-head h3,
.statement__title,
.not-found h1,
.about-hero__title,
.founder-name,
.service-block__head h2,
.vfx-showreel__head h3,
.vm-block__title,
.studio-hero h1{
  font-family:var(--font-heading);
  font-weight:var(--weight-section);
  letter-spacing:var(--tracking-section);
  line-height:var(--leading-section);
  text-transform:none;
  text-wrap:balance;
  overflow-wrap:break-word;
  hyphens:none;
  font-style:normal;
  font-synthesis:none;
}
.hero-title{
  font-weight:var(--weight-hero);
  font-size:clamp(var(--hero-size-mobile),6.4vw,var(--hero-size-desktop));
  letter-spacing:var(--tracking-hero);
  line-height:var(--leading-hero);
}
.h2,
.page-hero .h2,
.inquiry-copy .h2{
  font-size:clamp(var(--section-size-mobile),5.2vw,var(--section-size-desktop));
}
.inquiry-copy .h2{
  line-height:var(--leading-section);
  letter-spacing:var(--tracking-section);
}
.portfolio-intro h1{
  font-size:clamp(calc(var(--hero-size-mobile) * 1.15),5.8vw,calc(var(--hero-size-desktop) * .86));
  letter-spacing:var(--tracking-section);
  line-height:1.02;
}
.portfolio-gallery-head h2,
.portfolio-featured__head h2{
  font-size:clamp(calc(var(--section-size-mobile) * .9),4.2vw,calc(var(--section-size-desktop) * .84));
  letter-spacing:var(--tracking-section);
  line-height:1.06;
}
.gg-drive-gallery-head h3{
  font-size:clamp(calc(var(--section-size-mobile) * 1.05),4.4vw,calc(var(--section-size-desktop) * .9));
  letter-spacing:var(--tracking-section);
  line-height:1.06;
}
.statement__title{
  font-size:clamp(calc(var(--hero-size-mobile) * 1.15),7.6vw,calc(var(--hero-size-desktop) * 1.05));
  letter-spacing:var(--tracking-section);
  line-height:1.02;
}
.not-found h1{
  font-size:clamp(calc(var(--hero-size-mobile) * 1.05),5.8vw,calc(var(--hero-size-desktop) * .95));
  letter-spacing:var(--tracking-section);
  line-height:1.04;
}
.about-hero__title{
  font-size:clamp(calc(var(--hero-size-mobile) * 1.02),4.8vw,calc(var(--hero-size-desktop) * .75));
  letter-spacing:var(--tracking-section);
  line-height:1.04;
}
.founder-name{
  font-size:clamp(calc(var(--hero-size-mobile) * .95),4.2vw,calc(var(--hero-size-desktop) * .64));
  letter-spacing:var(--tracking-section);
  line-height:1.05;
}
.service-block__head h2,
.vfx-showreel__head h3{
  font-size:clamp(var(--service-size-mobile),4vw,var(--service-size-desktop));
  letter-spacing:var(--tracking-section);
  line-height:1.08;
}
.vfx-showreel__head h3{
  font-size:clamp(calc(var(--service-size-mobile) * 1.05),3.4vw,calc(var(--service-size-desktop) * .9));
}
.vm-block__title{
  font-size:clamp(calc(var(--section-size-mobile) * 1.05),2.4vw,calc(var(--section-size-desktop) * .64));
  letter-spacing:var(--tracking-section);
  line-height:1.12;
}
.legal h2{
  margin:44px 0 14px;
  font-family:var(--font-heading);
  font-weight:var(--weight-section);
  font-size:clamp(22px,2vw,28px);
  letter-spacing:var(--tracking-section);
  line-height:1.22;
  text-transform:none;
}
.about-hero__title em{
  font-style:normal;
}
.credits-collab__title{
  max-width:15ch;
  font-size:clamp(calc(var(--section-size-mobile) * .96),4.6vw,calc(var(--section-size-desktop) * .92));
  line-height:1.03;
  letter-spacing:var(--tracking-section);
}
.editorial-stat strong{
  font-family:var(--font-subheading);
  font-weight:var(--weight-subheading);
  font-size:clamp(26px,2.4vw,36px);
  line-height:1.1;
  letter-spacing:-.02em;
}

/* Subheadings — General Sans Semibold 600 */
.h3,
.pillar h3,
.process-step h3,
.founder-role,
.pipeline__list h4,
.service-aside strong,
.form__head strong,
.ai-contrast__col h3,
.credits-collab__label h3{
  font-family:var(--font-subheading);
  font-weight:var(--weight-subheading);
  font-size:clamp(var(--subhead-size-mobile),2.1vw,var(--subhead-size-desktop));
  letter-spacing:var(--tracking-subheading);
  line-height:var(--leading-subheading);
}
.founder-role,
.pipeline__list h4,
.service-aside strong,
.form__head strong,
.credits-collab__label h3{
  font-size:clamp(17px,1.6vw,21px);
  line-height:1.35;
}
.ai-contrast__col h3{
  font-size:clamp(18px,1.6vw,21px);
}

/* Service and portfolio titles — General Sans Semibold 600 */
.work-card__title strong,
.work-card--note h3,
.featured-card__body h3,
.featured-card--note h3,
.gg-drive-card-copy strong,
.gg-drive-card strong,
.gg-drive-category-head h3,
.gg-drive-category-head h4,
.credits-featured__info h3,
.credit-row__title,
.cap-row h3,
.outcome-card h3,
.solution-card h3,
.film-trigger__copy strong,
.service-film__copy strong{
  font-family:var(--font-subheading);
  font-weight:var(--weight-portfolio);
  font-size:clamp(var(--portfolio-size-mobile),2vw,var(--portfolio-size-desktop));
  letter-spacing:-.01em;
  line-height:1.3;
}
.gg-drive-card-copy strong{
  font-size:16px;
  line-height:1.3;
  letter-spacing:-.005em;
}
.outcome-card h3{
  font-size:clamp(18px,1.6vw,23px);
  line-height:1.28;
}
.cap-row h3,
.solution-card h3,
.work-card--note h3,
.featured-card--note h3,
.gg-drive-category-head h3,
.gg-drive-category-head h4,
.credits-featured__info h3{
  font-size:clamp(var(--portfolio-size-mobile),2.1vw,var(--portfolio-size-desktop));
}
.credit-row__title{
  font-size:clamp(16px,1.3vw,17px);
  line-height:1.4;
}
.film-trigger__copy strong{
  font-size:clamp(17px,1.4vw,20px);
  line-height:1.25;
}
.service-film__copy strong{
  font-size:clamp(20px,1.9vw,25px);
  line-height:1.25;
}
.featured-card--wide .featured-card__body h3{
  font-size:clamp(26px,2.5vw,36px);
  letter-spacing:-.01em;
  line-height:1.2;
}

/* Navigation and buttons — General Sans Medium 500 */
.site-nav a{
  font-family:var(--font-subheading);
  font-weight:var(--weight-nav);
  font-size:var(--nav-size-desktop);
  letter-spacing:.04em;
  line-height:1.2;
}
.mobile-menu nav a{
  font-family:var(--font-subheading);
  font-weight:var(--weight-nav);
  font-size:clamp(30px,8vw,44px);
  letter-spacing:.005em;
  line-height:1.1;
}
.mobile-menu nav a small{
  font-family:var(--font-mono);
  font-weight:400;
}
.brand__name{
  font-family:var(--font-subheading);
  font-weight:var(--weight-portfolio);
  letter-spacing:.08em;
}
.footer-col a,
.footer-bottom a,
.portfolio-back{
  font-family:var(--font-body);
  font-weight:var(--weight-nav);
}
.btn,
.pill{
  font-family:var(--font-subheading);
  font-weight:var(--weight-button);
  font-size:var(--button-size-desktop);
  letter-spacing:.01em;
  line-height:1.1;
}
.btn--sm{
  font-size:calc(var(--button-size-desktop) - .5px);
}
.text-link{
  font-family:var(--font-subheading);
  font-weight:var(--weight-button);
  font-size:var(--button-size-desktop);
  letter-spacing:.04em;
}
.gg-drive-category-start,
.service-head-links .text-link{
  font-family:var(--font-subheading);
  font-weight:var(--weight-button);
  letter-spacing:.03em;
}
.marquee__group{
  font-family:var(--font-subheading);
  font-weight:var(--weight-nav);
  font-size:clamp(22px,2vw,30px);
  letter-spacing:.015em;
  line-height:1.2;
}
/* Compact navigation and control labels */
.menu-toggle,
.jump-nav a,
.portfolio-back,
.portfolio-retry,
.not-found__links a,
.gg-drive-filter,
.credit-row__play,
.skip-link,
.showreel-trigger,
.showreel-dialog__bar button,
.gg-drive-lightbox-toolbar button,
.service-visual__play strong{
  font-family:var(--font-subheading);
  font-weight:var(--weight-nav);
  letter-spacing:.03em;
  line-height:1.2;
}
.service-visual__play small{
  font-family:var(--font-mono);
}
.menu-toggle,
.jump-nav a,
.portfolio-back,
.not-found__links a{
  font-size:11px;
}
.gg-drive-filter,
.portfolio-retry,
.credit-row__play{
  font-size:11px;
}

/* Mobile sizing and safety */
@media (max-width:680px){
  .hero-title{
    font-size:var(--hero-size-mobile);
    line-height:var(--leading-hero-mobile);
    letter-spacing:var(--tracking-hero-mobile);
    max-width:100%;
    overflow-wrap:break-word;
  }
  .hero__content,.hero__row,.hero__lede,.hero__actions{min-width:0;max-width:100%}
  .h2{
    font-size:var(--section-size-mobile);
    line-height:var(--leading-section-mobile);
    letter-spacing:var(--tracking-section-mobile);
  }
  .page-hero .h2{
    font-size:clamp(25px,6.8vw,min(28px,var(--section-size-mobile)));
    line-height:1.1;
    letter-spacing:var(--tracking-section-mobile);
  }
  .service-block__head h2,
  .vfx-showreel__head h3{
    font-size:var(--service-size-mobile);
    line-height:1.12;
    letter-spacing:var(--tracking-section-mobile);
  }
  .portfolio-intro h1{
    font-size:clamp(calc(var(--hero-size-mobile) * 1.15),9.4vw,calc(var(--hero-size-mobile) * 1.3));
    line-height:1.06;
    letter-spacing:var(--tracking-section-mobile);
  }
  .statement__title{
    font-size:clamp(calc(var(--hero-size-mobile) * 1.15),9.8vw,calc(var(--hero-size-mobile) * 1.3));
    line-height:1.06;
    letter-spacing:var(--tracking-section-mobile);
  }
  .not-found h1{
    font-size:clamp(calc(var(--hero-size-mobile) * 1.05),9.4vw,calc(var(--hero-size-mobile) * 1.25));
    line-height:1.08;
    letter-spacing:var(--tracking-section-mobile);
  }
  .about-hero__title{
    font-size:clamp(calc(var(--hero-size-mobile) * 1.02),8.8vw,calc(var(--hero-size-mobile) * 1.2));
    line-height:1.08;
    letter-spacing:var(--tracking-section-mobile);
  }
  .founder-name{
    font-size:clamp(calc(var(--hero-size-mobile) * .95),8vw,calc(var(--hero-size-mobile) * 1.05));
    line-height:1.1;
    letter-spacing:var(--tracking-section-mobile);
  }
  .vm-block__title{
    font-size:clamp(calc(var(--section-size-mobile) * 1.02),6.8vw,calc(var(--section-size-mobile) * 1.15));
    line-height:1.16;
    letter-spacing:var(--tracking-section-mobile);
  }
  .gg-drive-gallery-head h3{
    font-size:clamp(calc(var(--section-size-mobile) * .98),7.4vw,calc(var(--section-size-mobile) * 1.2));
    line-height:1.12;
    letter-spacing:var(--tracking-section-mobile);
  }
  .portfolio-gallery-head h2,
  .portfolio-featured__head h2{
    font-size:clamp(calc(var(--section-size-mobile) * .9),6.8vw,calc(var(--section-size-mobile) * .95));
    line-height:1.12;
    letter-spacing:var(--tracking-section-mobile);
  }
  .credits-collab__title{
    font-size:clamp(calc(var(--section-size-mobile) * .93),7.2vw,calc(var(--section-size-mobile) * 1.05));
    line-height:1.1;
    letter-spacing:var(--tracking-section-mobile);
  }
  .pillar h3,
  .process-step h3,
  .founder-role,
  .h3,
  .pipeline__list h4,
  .film-trigger__copy strong,
  .service-film__copy strong{
    font-size:var(--subhead-size-mobile);
    line-height:var(--leading-subheading-mobile);
    letter-spacing:var(--tracking-subheading-mobile);
  }
  .work-card__title strong,
  .featured-card__body h3,
  .featured-card--note h3,
  .work-card--note h3,
  .gg-drive-category-head h3,
  .gg-drive-category-head h4,
  .credits-featured__info h3,
  .credit-row__title,
  .solution-card h3,
  .cap-row h3,
  .outcome-card h3{
    font-size:var(--portfolio-size-mobile);
    letter-spacing:-.005em;
    line-height:1.3;
  }
  .btn,
  .pill,
  .text-link{
    font-size:var(--button-size-mobile);
  }
  .site-nav a{
    font-size:var(--nav-size-mobile);
  }
  .featured-card--wide .featured-card__body h3{
    font-size:clamp(22px,5.4vw,26px);
    line-height:1.25;
  }
  .legal h2{
    font-size:clamp(20px,5.4vw,23px);
    line-height:1.3;
  }
  .editorial-stat strong{
    font-size:clamp(26px,7vw,32px);
  }
}

@media (max-width:360px){
  .hero-title{font-size:clamp(30px,9.4vw,var(--hero-size-mobile))}
  .h2{font-size:clamp(24px,7.2vw,var(--section-size-mobile))}
  .portfolio-intro h1{font-size:calc(var(--hero-size-mobile) * 1.05)}
  .statement__title{font-size:calc(var(--hero-size-mobile) * 1.05)}
  .not-found h1{font-size:calc(var(--hero-size-mobile) * 1.05)}
}
