/* NUVE typography system (v45, 2026-11-22). Loaded last on every page (scripts/build.mjs injects it after
   final-polish.css). A restoration, not a redesign: the same two families (Cormorant Garamond for display and story,
   Manrope for text and UI), one scale, one set of weights, calmer tracking and readable minimum sizes.
   Audit and before/after: docs/signature/v45-tipografi/. Section compositions keep their own sizes where they are
   part of a bespoke layout (opening film, Kemeraltı arcade); everything shared is set here. */
:root {
  --t-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --t-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  /* Scale */
  --t-display: clamp(44px, 5.2vw, 84px);
  --t-h1: clamp(40px, 4.6vw, 72px);
  --t-h2: clamp(34px, 3.8vw, 60px);
  --t-h3: clamp(24px, 2vw, 30px);
  --t-h4: 19px;
  --t-lead: clamp(17px, 1.25vw, 19px);
  --t-body: 16px;
  --t-small: 14px;
  --t-caption: 12.5px;
  --t-label: 12px;
  /* Ink (on ivory) */
  --t-ink: #0f2238;      /* headings, 14.4:1 */
  --t-text: #2b3646;     /* body, 10.9:1 */
  --t-muted: #4a5564;    /* secondary, 6.9:1 */
  --t-accent: #7a5a2f;   /* italic emphasis and labels, 5.6:1 */
  /* Tracking */
  --t-track-label: .14em;
  --t-track-tight: -.01em;
}

/* 1. Families and rendering ------------------------------------------------------------------------------------ */
html body { font-family: var(--t-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; }
html body input, html body select, html body textarea, html body button { font-family: var(--t-sans); }
/* Cormorant is shipped in one weight (500) and its italic. Asking for 600/700 makes the browser fake a bold; ask for 500. */
html body :is(h1, h2, h3, h4)[class], html body :is(h1, h2, h3, h4) { font-synthesis: none; }

/* 2. Headings ---------------------------------------------------------------------------------------------------- */
html body main :is(h1, h2.heading, h2.nv-heading) { font-weight: 500; letter-spacing: var(--t-track-tight); color: var(--t-ink); text-wrap: balance; }
html body main h1:not(.sig h1) { font-size: var(--t-h1); line-height: 1.04; }
html body main :is(h2.heading, h2.nv-heading) { font-size: var(--t-h2); line-height: 1.06; }
html body main :is(h1, h2, h3) em { font-style: italic; font-weight: 500; color: var(--t-accent); }
html body main h3 { line-height: 1.2; }
/* Sans h2 used as a small form or panel label */
html body main h2:is(.form-title, .r7-form-h, [class*="label"]) { font-weight: 600; letter-spacing: var(--t-track-label); }

/* 3. Text -------------------------------------------------------------------------------------------------------- */
html body main :is(.lede, .lead, .intro, .r7-lede, .nv-lede) { font-size: var(--t-lead); line-height: 1.6; }
html body main p { text-wrap: pretty; }
html body main :is(p, li, dd) { font-weight: 450; }
html body main :is(.nv-world-short, .nv-season-text, .nv-season-more) { line-height: 1.55; }
html body figcaption { line-height: 1.45; }

/* 4. Labels: eyebrows, indices, small caps --------------------------------------------------------------------- */
html body :is(.eyebrow, .sig-eyebrow, .footer-eyebrow, .pw8-tile-eyebrow, .pw8-gal-eyebrow, .nv-world-sub, .nv-season-more > span) {
  font-family: var(--t-sans); font-size: max(var(--t-label), 11.5px); font-weight: 600; letter-spacing: var(--t-track-label); line-height: 1.35; }
html body .sig .sig-object p.sig-eyebrow { letter-spacing: var(--t-track-label); }
html body :is(.nv-world-index, .stage-number) { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .08em !important; }
html body :is(.pw8-gal-go, .nv-world-more, .pw8-tile-cta) { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .1em !important; }
html body :is(.pw8-gal-eyebrow, .pw8-tile-eyebrow, .nv-world-sub) { font-size: 11.5px !important; letter-spacing: var(--t-track-label) !important; }
@media (max-width: 899px) {
  html body :is(.eyebrow, .sig-eyebrow, .pw8-tile-eyebrow, .pw8-gal-eyebrow, .nv-world-sub) { font-size: 11.5px; letter-spacing: .12em; }
  html body :is(.pw8-gal-go, .pw8-tile-cta, .nv-world-more) { font-size: 11.5px !important; }
  html body .nv-world-index { font-size: 11.5px !important; }
}

/* 5. Notes about images (AI concept labels, credits): small but legible ----------------------------------------- */
html body :is(.sig-label, .sig-credit, .ua-ai-note), html body .sig p.sig-label { font-size: 11px !important; letter-spacing: .02em; }
html body .ua-ai-note { color: rgba(15, 34, 56, .74); }

/* 6. Links, buttons, CTAs ---------------------------------------------------------------------------------------- */
html body main a.text-link { font-weight: 600; }
html body :is(a, button).btn { font-size: 14.5px; font-weight: 600; letter-spacing: .02em; text-transform: none; line-height: 1.2; }
html body .sig-btn { font-weight: 600; }

/* 7. Forms ------------------------------------------------------------------------------------------------------- */
html body form label { font-weight: 600; letter-spacing: .06em; }
html body form :is(input, select, textarea) { font-size: 16px; font-weight: 450; line-height: 1.4; }
html body form :is(.help, .hint, small, .form-note) { font-size: 13.5px; line-height: 1.5; }

/* 8. Navigation and footer --------------------------------------------------------------------------------------- */
html body .site-footer :is(p, li, a) { line-height: 1.6; }

/* 9. (v46) The Kemeraltı closing band styles itself in uretim-agi.css. */

/* 10. Product world cards and carousel --------------------------------------------------------------------------- */
html body :is(.nv-world-name, .pw8-tile-title) { font-weight: 500; letter-spacing: -.005em; }
html body .nv-world-short { color: #4f5a69; }

/* 11. Product worlds grid (productworld.css sets these with an id selector and !important) */
html body #urunler.pw8.posthero-collections .pw8-grid :is(.nv-world-index) { font-size: 12px !important; letter-spacing: .08em !important; }
html body #urunler.pw8.posthero-collections .pw8-grid :is(.nv-world-sub, .nv-world-more) { font-size: 12px !important; letter-spacing: .1em !important; }
html body #urunler.pw8.posthero-collections .gallery-head .eyebrow { letter-spacing: var(--t-track-label) !important; }
@media (max-width: 899px) {
  html body #urunler.pw8.posthero-collections .pw8-grid :is(.nv-world-index, .nv-world-sub, .nv-world-more) { font-size: 11.5px !important; }
  html body #urunler.pw8.posthero-collections .gallery-head .eyebrow, html body .sig .sig-object p.sig-eyebrow { font-size: 11.5px !important; }
}
html body .nv-season-more > span { color: var(--t-accent); }
