/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* =========================================
   FLUID TYPE SCALE (Mobile → Desktop)
   Mobile max values based on your list
   Desktop targets: clean & rounded
   ========================================= */
html, body{
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;

  --text-xs:   clamp(0.7rem, 0.65rem + 0.2vw, 0.75rem);
  --text-sm:   clamp(0.8rem, 0.75rem + 0.3vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.4vw, 1rem);
  --text-lg:   clamp(1rem, 0.9rem + 0.6vw, 1.125rem);
  --text-xl:   clamp(1.1rem, 1rem + 0.8vw, 1.25rem);

  --text-2xl:  clamp(1.25rem, 1.1rem + 1vw, 1.5rem);
  --text-3xl:  clamp(1.35rem, 1.2rem + 1.2vw, 1.75rem);
  --text-4xl:  clamp(1.75rem, 1.4rem + 2vw, 3.25rem);

  --text-5xl:  clamp(2rem, 1.6rem + 2.5vw, 3.5rem);
  --text-6xl:  clamp(2.5rem, 2rem + 3vw, 4rem);
  --text-7xl:  clamp(3rem, 2.5rem + 3.5vw, 4.5rem);
  --text-8xl:  clamp(3.25rem, 2.75rem + 4vw, 5rem);
  --text-9xl:  clamp(3.5rem, 3rem + 4.5vw, 5.5rem);
}
.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }

.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); !important }

.text-5xl  { font-size: var(--text-5xl); }
.text-6xl  { font-size: var(--text-6xl); }
.text-7xl  { font-size: var(--text-7xl); }
.text-8xl  { font-size: var(--text-8xl); }
.text-9xl  { font-size: var(--text-9xl); }

/* Line-height helpers */
.lh-tight  { line-height: var(--lh-tight); }
.lh-snug   { line-height: var(--lh-snug); }
.lh-normal { line-height: var(--lh-normal); }

/* Optional: font-weight helpers (if you want) */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
