/* =========================================================
   TÜRKÇE — layout fits for the Turkish copy (js/i18n.js)
   Loaded after type-inter.css on every page. Everything here is scoped
   to html[lang="tr"], so the English site is untouched. Only add rules
   that re-fit Turkish words into the English composition — same sizes,
   same rhythm, nothing restyled.
   ========================================================= */

/* Home manifesto, scattered state — "İyi piliç / her şeyden önce / bir
   disiplindir." The right-hand words end on the English right edge
   (88.51vw, where the period lands), measured in Inter at 1440:
   piliç 13.19vw · önce 18.13vw · disiplindir 32.08vw. */
html[lang="tr"] .lh-mf-chicken { left: 75.32vw; }
html[lang="tr"] .lh-mf-matter { left: 70.38vw; }
html[lang="tr"] .lh-mf-discipline { left: 56.43vw; }

/* Footer "İLETİŞİM" — Turkish capitals carry marks outside the Latin cap
   box: the İ dots sit above it (the reveal mask's .12em top pad sliced
   them flat) and the Ş cedilla hangs below the .85 line box into the
   links. Open the mask's top without moving the word, and give the links
   the cedilla's depth (~.2 × the word's size) plus the usual gap. */
html[lang="tr"] .footer-big .reveal-line {
  padding-top: .32em;
  margin-top: -.32em;
  padding-bottom: .26em;
  margin-bottom: -.26em;
}

@media (min-width: 901px) {
  /* ≤900px the big word is hidden, so the links keep their own gap */
  html[lang="tr"] .footer-nav {
    margin-top: calc(4px + clamp(56px, 17vw, 256px) * .2);
  }
}

@media (max-width: 900px) {
  /* "ANA SAYFA · KURUMSAL · ÜRÜNLER · İLETİŞİM" runs ~20% longer than the
     English links — a step smaller so the row still fits one line */
  html[lang="tr"] .footer-nav { font-size: clamp(10.5px, 2.95vw, 14px); letter-spacing: .01em; gap: 7px; }
}

@media (max-width: 760px) {
  /* manifesto: "İyi piliç / her şeyden önce / bir disiplindir." — "her
     şeyden" is one slot, so the middle line needs a smaller size to
     hold three lines like the English */
  html[lang="tr"] .lh-manifesto-title { font-size: clamp(40px, 12vw, 58px); }
  /* a zero-height full-width flex item ends line one after "İyi piliç",
     so wider phones don't pull "her şeyden" up beside it */
  html[lang="tr"] .lh-manifesto-title::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
  html[lang="tr"] .lh-mf-isa,
  html[lang="tr"] .lh-mf-matter,
  html[lang="tr"] .lh-mf-of,
  html[lang="tr"] .lh-mf-discipline { order: 2; }

  /* "sofranıza taşıyın" runs ~6% longer than "to your table" — one
     step down keeps it inside the 24px phone gutter */
  html[lang="tr"] .lh-invitation-title { font-size: clamp(38px, 12.4vw, 66px); }
  /* here the second line is the wider one, so the period hangs off its
     end instead of the (shorter) first line's */
  html[lang="tr"] .lh-invitation-title > i { right: -.3em; }
}
