/* ==========================================================================
   LTR — the English site (en/) only.
   The layout is written with logical properties (start / end, inline) almost everywhere, so it flips by itself
   with dir="ltr". This file mirrors the few rules that are physical on purpose: the hero composition,
   the dandelion drawings, slide-in underlines and the little "forward" nudges on hover.
   Loaded after every other stylesheet; each rule is the mirror of the one named beside it.
   ========================================================================== */

/* ---- hover nudges: "forward" is to the right in English ---- */
@media (hover: hover) {
  [dir="ltr"] .btn:hover .icon--move,
  [dir="ltr"] .arrow-link:hover .arrow-link__icon,
  [dir="ltr"] .path-tile:hover .path-tile__label .icon,
  [dir="ltr"] .t-care__cta:hover .icon--move,
  [dir="ltr"] .t-index__link:hover .t-index__name { transform: translateX(4px); }
  [dir="ltr"] .acc__trigger:hover .acc__title { transform: translateX(6px); }
  [dir="ltr"] .acc__more:hover .icon { transform: translateX(5px); }
  [dir="ltr"] .t-links__link:not([aria-current]):hover .t-links__go,
  [dir="ltr"] .t-more a:hover .t-links__go,
  [dir="ltr"] .t-index__link:hover .t-links__go { transform: translateX(3px); }
}

/* ---- underlines and highlights grow from the start (left) ---- */
[dir="ltr"] .intro__quote::before,
[dir="ltr"] .t-toc__list a::before,
[dir="ltr"] .t-panel::before,
[dir="ltr"] .t-ledger__item::after { transform-origin: left; }
[dir="ltr"] .t-ledger__item::after { background: linear-gradient(to right, var(--orchid-400), var(--orchid-300) 60%, transparent); }
[dir="ltr"] .hl { background-position: left; }

/* ---- form: phone / email fields read left to right anyway ---- */
[dir="ltr"] .field__input[dir="ltr"] { text-align: left; }

/* ---- video play icon: unmirrored ---- */
[dir="ltr"] .video__play-ring .icon { transform: translateX(6%); }

/* ---- homepage hero (sections.css "round 10" onwards), mirrored ---- */
[dir="ltr"] .hero__photo { left: auto; right: 34vw; }
[dir="ltr"] .hero__caption {
  left: calc(var(--img-h) * 0.75 + 34px);
  right: calc(var(--cap-h) * 0.3);
  text-align: left;
}
[dir="ltr"] .hero__photo-img { right: auto; left: calc(var(--cap-h) * 0.3); }
[dir="ltr"] .hero__dandelions--big { left: auto; right: -2vw; }
[dir="ltr"] .hero__dandelions--small { right: auto; left: 2vw; }
/* the drawings themselves are mirrored (ui.js measures them from the right in English) */
[dir="ltr"] .hero__dandelions-svg,
[dir="ltr"] .hero__dandelions > svg { transform: scaleX(-1); }
@media (max-width: 759px) {
  [dir="ltr"] .hero__dandelions--big { right: -8vw; left: auto; }
  [dir="ltr"] .hero__photo { right: auto !important; left: 0; }
  [dir="ltr"] .hero__capsule { border-radius: 0 999px 999px 0; }
  [dir="ltr"] .hero__photo-img { right: auto; left: calc(var(--gutter) + 10px); }
  [dir="ltr"] .hero__caption {
    left: auto; right: calc(var(--img-h) * 1.25 - 100vw);
    padding: 20px var(--gutter) 20px 36px;
    border-radius: 999px 0 0 999px;
  }
  [dir="ltr"] .hero__dandelions--side { right: auto; left: calc(28vw - 0.813 * 56vw); }
  [dir="ltr"] .hero__side-seeds { right: auto; left: 0; }
  [dir="ltr"] .side-seed { left: auto; right: var(--hx, 20px); }
}

/* ---- homepage "treatments" dandelion bleeding off the column edge (sections.css) ---- */
@media (min-width: 960px) {
  [dir="ltr"] .treatments__dandelion { margin-right: auto; margin-left: calc(-1 * var(--edge)); }
  [dir="ltr"] .treatments__dandelion svg { transform: scaleX(-1); }
}

/* ---- treatment pages (treatment.css) ---- */
[dir="ltr"] .t-hero .t-hero__long { left: auto; right: -4vw; }
@media (max-width: 759px) { [dir="ltr"] .t-hero .t-hero__long { left: auto; right: -5vw; } }
[dir="ltr"] .t-hero__deco svg { transform: scaleX(-1); }
[dir="ltr"] .t-portrait__img { right: auto; left: 4%; }

/* ---- the About page's language link: the arrow already points forward ---- */
[dir="ltr"] .a-intro__en .icon { transform: none; }
@media (hover: hover) { [dir="ltr"] .a-intro__en:hover .icon { transform: translateX(3px); } }

/* ---- English logo (from the English business card): its drawing is taller than the Hebrew one's, so the
   whole logo is a fifth larger to keep the name readable ---- */
[dir="ltr"] .site-logo img { height: calc(var(--logo-h) * 1.2); }
[dir="ltr"] .site-logo { top: calc(12px + 32px - var(--logo-h) * 0.6); }
@media (min-width: 1180px) { [dir="ltr"] .site-logo { top: 4px; } }
