/* Nour Nagy 2 — professional typography layer.
   Loaded site-wide AFTER style.css / inner.css so it refines both without
   changing the layout. Micro-typography only: kerning, ligatures, figure
   styles, optical tracking, leading, wrap/balance. */

html{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-kerning:normal;
}

body{
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;
  letter-spacing:-0.011em;
  font-synthesis:none;
}

/* Display / serif headings — tighter tracking, optical leading, balanced wrap */
h1,h2,h3,
.hero-title,.panel-h,.cta-h,.stmt-txt,.srv-head,.sc-t,
.sh,.page-hero h1,.svc-title,.c-form h3,.cta-box h3,.pf-title,.loc-city,.c-city{
  font-feature-settings:"kern" 1,"liga" 1,"dlig" 1,"calt" 1;
  letter-spacing:-0.021em;
  text-wrap:balance;
  font-variant-ligatures:common-ligatures discretionary-ligatures;
}
.hero-title,.cta-h,.stmt-txt{letter-spacing:-0.03em;line-height:.94}

/* v4.8.0: headings promoted h4→h3 (heading-order fix) keep their previous,
   body-level typography so the approved visuals do not shift. */
.val-card h3,.pbox h3,.svc4-t,.col-step-t,.svp-step-t,.feat-t{
  letter-spacing:-0.011em;
  text-wrap:wrap;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;
}

/* Italic emphasis — a touch of positive tracking reads more refined */
em,.panel-h em,.sh em,.sc-t em,.hero-title .t-em{letter-spacing:0}

/* Body copy — comfortable measure, softer wrapping, no orphans */
p,.panel-p,.sc-d,.hero-sub,.slead,.ft-p,.loc-text,.val-card p,.pbox p,
.svc-desc,.c-detail,.faq-ai p,.pf-place{
  text-wrap:pretty;
  font-feature-settings:"kern" 1,"liga" 1;
}
.slead,.panel-p{line-height:1.75}

/* Numerals — tabular lining figures so stats & counters align cleanly */
.stat-n,.s-sn,.s-sfx,.cnt,.stat-big,.pf-year,.loc-num,.svc-num,.proc-num,
.srv-cnt,.panel-num,.sc-n,.faq-ico{
  font-feature-settings:"tnum" 1,"lnum" 1,"kern" 1;
  font-variant-numeric:tabular-nums lining-nums;
}

/* Eyebrows / labels / caps — even tracking, no ligature weirdness in caps */
.eyebrow,.stag,.hero-eye,.srv-eye,.stmt-eye,.ti-tag,.c-lbl,.loc-country,
.c-country,.proc-t,.stat-l,.s-sl,.mq-item,.nav-links a,.nav-cta,
.nd-nav ul a,.nd-nav .nav-cta,.ft-col h3,.ft-soc a,.btn-bronze,.btn-ghost,
.btn-outline,.sc-l,.c-submit{
  font-feature-settings:"kern" 1;
  font-variant-ligatures:none;
}

/* Long-form prose niceties */
.slead,.faq-ai,.nn-prose{hanging-punctuation:first last;}

/* Keep serif numerals elegant where they're decorative (project year etc.) */
.pf-year{font-variant-numeric:oldstyle-nums}
