/* TR Topolski — Elementor bridge. GENERATED, do not hand-edit.
   Source: v2.css, v3.css, elementor-fix.css. */


/* ===== v2.css ===== */
/* TR Topolski — v2 overrides, driven by MAIN DESCTOP 3.psd / MOBILE.psd.
   Loaded only on the v2 page template; the approved front page never sees it. */

body.trt-v2 {
  /* Sampled from a JPEG before; this is the authored value. */
  --gold: #c4a57e;
  --gold-soft: rgba(196, 165, 126, 0.55);
  --line: rgba(196, 165, 126, 0.22);

  /* The PSD uses exactly two weights and a four-step scale:
     16 / 26.7 / 40 / 80. Everything here derives from that. */
  --t-body: clamp(14px, 1.05vw, 16px);
  --t-mid: clamp(20px, 2vw, 26.7px);
  --t-lg: clamp(28px, 3vw, 40px);
  --t-xl: clamp(46px, 5.6vw, 80px);
}

body.trt-v2 .section__title,
body.trt-v2 .caption__title,
body.trt-v2 .stat__value,
body.trt-v2 .hero-loader__brand {
  /* Heebo Thin — the display face in the design. Nothing heavier. */
  font-weight: 100;
}

body.trt-v2 .section__title {
  font-size: var(--t-lg);
  line-height: 1.18;
}

body.trt-v2 .stat__value {
  font-size: var(--t-xl);
}

body.trt-v2 .eyebrow,
body.trt-v2 .fcol__title,
body.trt-v2 .split__cap h3,
body.trt-v2 .btn {
  font-weight: 600;
}

body.trt-v2 .eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
}

body.trt-v2 .eyebrow--center {
  text-align: center;
}

body.trt-v2 .eyebrow--center::before {
  display: none;
}

body.trt-v2 .prose,
body.trt-v2 .section__lead,
body.trt-v2 .fcol__line,
body.trt-v2 .field label {
  font-weight: 100;
  font-size: var(--t-body);
}

/* Real vector wordmark in place of the typeset stand-in.
   Scoped to <body>, not <main>: the header sits outside <main>, so an
   body.trt-v2 selector never reached it and the text fallback kept showing. */
.trt-v2 .brand__mark,
.trt-v2 .brand__text {
  display: none;
}

.trt-v2 .brand {
  width: 157px;
  height: 31px;
  background: url("../img/v2/logo.png") no-repeat center / contain;
}

/* The supplier strip was rendering at 34px tall against a native height of
   58px — roughly half the size the design draws them, and a third the size of
   the client rows further down, which is why it read as an afterthought.
   58px is the ceiling on purpose: that is 1:1 with the source, so the marks
   stay crisp instead of being upscaled. */
body.trt-v2 .marquee--suppliers .marquee__track img {
  height: clamp(38px, 4vw, 58px);
  margin-inline-end: clamp(44px, 5.2vw, 88px);
}

@media (max-width: 760px) {
  body.trt-v2 .marquee--suppliers .marquee__track img {
    height: 40px;
    margin-inline-end: 40px;
  }
}

/* ---------- media with a blur placeholder ----------
   The wrapper carries an inlined ~900-byte blur of the photograph, so the slot
   is the right colours from the first paint. The real file fades in over it
   once decoded, instead of snapping in from black. */
body.trt-v2 .media {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.trt-v2 .media > img {
  opacity: 0;
  transition: opacity 0.55s ease;
}

body.trt-v2 .media > img.is-loaded {
  opacity: 1;
}

/* Without JS the fade never fires, so never hide the image in the first place. */
html:not(.js) body.trt-v2 .media > img {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.trt-v2 .media > img {
    transition: none;
  }
}

/* ---------- המוצרים שלנו ----------
   A tab bar over a full-bleed render: pick a category, the photograph and
   the copy change beneath it. */

.products {
  position: relative;
  z-index: 1;
}

.products__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: clamp(18px, 2.4vh, 30px) clamp(16px, 3vw, 40px);
  border-block-end: 1px solid rgba(255, 255, 255, 0.09);
}

.products__tab {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px clamp(12px, 1.6vw, 26px);
  background: none;
  border: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.28s ease;
}

.products__tab:last-child {
  border-inline-start: 0;
}

.products__tab i {
  font-style: normal;
  font-weight: 100;
  opacity: 0.7;
}

.products__tab:hover,
.products__tab:focus-visible {
  color: #fff;
}

.products__tab.is-active {
  color: var(--gold);
}

.products__tab.is-active i {
  opacity: 1;
}

.products__stage {
  position: relative;
  min-height: clamp(420px, 74vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.products__shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.products__shot.is-on {
  opacity: 1;
}

.products__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* The tab bar swaps between five renders, some near-white. The scrim has
     to hold the copy legible against the brightest of them, not just the
     dark stone that happens to be first. */
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 34%, rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0) 82%),
    linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 52%);
}

.products__panel {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  width: min(100% - clamp(36px, 8vw, 128px), var(--shell));
  margin-inline: auto;
  padding-block-end: clamp(34px, 5vh, 66px);
  max-width: 100%;
}

.products__panel[hidden] {
  display: none;
}

.products__num {
  display: block;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
  font-size: var(--t-xl);
  font-weight: 100;
  line-height: 1;
  color: var(--gold);
}

.products__name {
  margin: 6px 0 14px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
  font-size: var(--t-mid);
  font-weight: 600;
  color: #fff;
}

.products__body {
  max-width: 48ch;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
  margin: 0;
  font-size: var(--t-body);
  font-weight: 100;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
}

.products__body--awaiting {
  color: var(--gold-soft);
}

.products__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-start: clamp(20px, 3vh, 34px);
  padding: 11px 26px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 14px;
  font-weight: 100;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.products__cta i {
  font-style: normal;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.products__cta:hover,
.products__cta:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.products__cta:hover i {
  transform: translateX(-5px);
}

/* The products stage ends on a full-bleed image and the film below is also
   full-bleed. .products is not a .section, so it carries no padding, and
   films deliberately have no margin of their own — which left the two welded
   together. Space them like any two adjacent media blocks. */
.products + .film,
.products + .section {
  margin-block-start: var(--gap-media);
}

/* ---------- TR STONE ----------
   Plain black. The photograph behind the statement fought the type and the
   block reads stronger as a clean dark beat. */

.section--stone {
  position: relative;
  background: var(--ink);
}

.stone__bg {
  display: none;
}

.section--stone > .shell {
  position: relative;
  z-index: 2;
}

/* ---------- film plates on white ----------
   Full-bleed video welded band to band and made the page relentless. The
   clips now sit inset on a white field, the same plate treatment as the light
   variant — which also gives the dark build somewhere to breathe. */

body.trt-v2 .film {
  margin-block: 0;
  padding-block: clamp(52px, 7.5vh, 96px);
  background: #fff;
}

body.trt-v2 .products + .film {
  margin-block-start: 0;
}

body.trt-v2 .film + .film {
  margin-block-start: 0;
  padding-block-start: 0;
}

body.trt-v2 .film__frame {
  width: min(100% - clamp(36px, 9vw, 160px), 1180px);
  margin-inline: auto;
  background: #000;
}

body.trt-v2 .film--full .film__video {
  height: clamp(300px, 58vh, 600px);
}

body.trt-v2 .film--inset .film__video {
  height: clamp(240px, 46vh, 470px);
}

body.trt-v2 .film__cap {
  width: min(100% - clamp(36px, 9vw, 160px), 1180px);
  color: rgba(20, 18, 15, 0.55);
}

body.trt-v2 .film__cap::before {
  background: #a98753;
  opacity: 1;
}

/* ---------- ARC & Designers ----------
   A large flat field of #c4a57e read as a muddy slab, and the form sat hard
   right leaving a dead third of the band. It works better as a white card
   attached to the press-wall plate: centred, and fields as rules rather than
   boxes so they read as somewhere to write. Shared by both variants. */

body.trt-v2 .arc__plate img {
  width: min(100% - clamp(36px, 9vw, 160px), 1180px);
}

body.trt-v2 .arc__band {
  width: min(100% - clamp(36px, 9vw, 160px), 1180px);
  margin: 0 auto;
  padding: clamp(38px, 5.5vh, 68px) clamp(24px, 4vw, 72px);
  background: #fbfaf8;
}

body.trt-v2 .arc__band .shell {
  width: 100%;
  padding-inline: 0;
}

body.trt-v2 .arc__band-inner {
  flex-direction: column;
  align-items: center;
  gap: clamp(26px, 3.4vh, 44px);
  text-align: center;
}

body.trt-v2 .arc__pitch {
  max-width: 30ch;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.35;
  color: #14120f;
}

body.trt-v2 .arc__form {
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
}

body.trt-v2 .arc__form input {
  width: clamp(150px, 15vw, 196px);
  padding: 10px 2px;
  background: transparent;
  border: 0;
  border-block-end: 1px solid rgba(20, 18, 15, 0.26);
  color: #14120f;
  transition: border-color 0.25s ease;
}

body.trt-v2 .arc__form input::placeholder {
  /* Solid ink, not grey — the labels double as the only field names here, so
     they have to read at a glance rather than whisper. */
  color: #14120f;
  opacity: 1;
}

body.trt-v2 .arc__form input:hover {
  border-block-end-color: rgba(20, 18, 15, 0.45);
}

body.trt-v2 .arc__form input:focus {
  background: transparent;
  border-block-end-color: #a98753;
}

body.trt-v2 .arc__form button {
  padding: 14px 34px;
  background: #14120f;
  border-color: #14120f;
  color: #fbfaf8;
}

body.trt-v2 .arc__form button:hover,
body.trt-v2 .arc__form button:focus-visible {
  background: #a98753;
  border-color: #a98753;
  color: #fff;
}

@media (max-width: 760px) {
  body.trt-v2 .arc__form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  body.trt-v2 .arc__form input,
  body.trt-v2 .arc__form button {
    width: 100%;
    justify-content: center;
  }
}


.arc {
  padding-block-start: var(--gap-section);
}

.arc__head {
  text-align: center;
  margin-block-end: var(--gap-inner);
}

.arc__plate {
  margin: 0;
  line-height: 0;
}

.arc__plate img {
  display: block;
  width: min(100% - clamp(36px, 8vw, 128px), var(--shell));
  margin-inline: auto;
}

/* The gold band is the one warm surface on the whole page — it is what makes
   this section read as an invitation rather than another dark slab. */
.arc__band {
  margin-block-start: clamp(28px, 4vh, 52px);
  padding-block: clamp(22px, 3.2vh, 40px);
  background: var(--gold);
}

.arc__band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 30px);
}

.arc__pitch {
  margin: 0;
  font-size: var(--t-mid);
  font-weight: 600;
  color: var(--ink);
}

.arc__form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.arc__form input {
  width: clamp(130px, 13vw, 180px);
  padding: 12px 16px;
  background: transparent;
  border: 1px solid rgba(8, 8, 8, 0.55);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 100;
}

.arc__form input::placeholder {
  color: rgba(8, 8, 8, 0.66);
  opacity: 1;
}

.arc__form input:focus {
  outline: none;
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.22);
}

.arc__form button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--gold);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.arc__form button i {
  font-style: normal;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.arc__form button:hover,
.arc__form button:focus-visible {
  background: transparent;
  color: var(--ink);
}

.arc__form button:hover i {
  transform: translateX(-5px);
}

/* The sub-heading follows a full-bleed gallery, so it needs its own air —
   the gallery has no bottom margin to lend it. */
body.trt-v2 .section__head--sub {
  margin-block-start: var(--gap-inner);
}

/* ---------- projects, plates at authored resolution ---------- */

.gallery--v2 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery--v2 .gallery__item {
  aspect-ratio: 3 / 4;
}

.gallery--v2 .gallery__item img {
  filter: grayscale(0.2) brightness(0.9);
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .gallery--v2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .gallery--v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .arc__band-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .arc__form {
    flex-direction: column;
    align-items: stretch;
  }

  .arc__form input,
  .arc__form button {
    width: 100%;
    justify-content: center;
  }

  /* The tab row cannot wrap to four lines on a phone — let it scroll. */
  .products__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .products__tabs::-webkit-scrollbar {
    display: none;
  }

  .products__tab {
    flex: 0 0 auto;
  }
}

@media (max-width: 620px) {
  .gallery--v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== v3.css ===== */
/* TR Topolski — v3, the light alternative.
   Layered on top of v2.css; same blocks, same behaviour, different ground.

   The idea: a stone merchant's whole pitch is "come and see the material in
   daylight". Slabs get photographed against white, samples get laid out on
   pale surfaces. So the page is a SAMPLE BOARD — paper ground, material
   plates laid onto it with real margin — and dark is spent only where the
   content is genuinely cinematic: the hero journey, the film plates, the
   showroom interiors. Light to read, dark to look. */

body.trt-v3 {
  /* Warm limestone rather than cream: greyer, reads as stone dust, and keeps
     its distance from the cafe-menu off-white. */
  --paper: #efece6;
  --paper-deep: #e5e1d9;
  /* Warmer than v2's #080808 so a dark band next to paper reads as a plate,
     not a hole punched in the page. */
  --night: #100f0d;
  --ink: #14120f;
  --gold: #c4a57e;
  --rule: rgba(20, 18, 15, 0.14);

  /* Air is the whole point of this variant. */
  --gap-section: clamp(104px, 14vh, 200px);
  --gap-media: clamp(72px, 9vh, 132px);
  --gap-inner: clamp(36px, 5vh, 76px);
}

body.trt-v3 .page-flow {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- type on paper ----------
   Heebo Thin is right on black. On paper at body size it disappears, so the
   running text steps up to 300 while display stays at the authored 100. */

body.trt-v3 .section__title,
body.trt-v3 .products__num,
body.trt-v3 .stat__value {
  color: var(--ink);
}

body.trt-v3 .prose,
body.trt-v3 .section__lead,
body.trt-v3 .stat__label,
body.trt-v3 .stat__note,
body.trt-v3 .field label {
  font-weight: 300;
  color: rgba(20, 18, 15, 0.72);
}

body.trt-v3 .prose__note {
  color: rgba(20, 18, 15, 0.5);
}

body.trt-v3 .eyebrow {
  color: #a98753; /* the gold darkened just enough to hold on paper */
}

body.trt-v3 .eyebrow::before {
  background: #a98753;
}

body.trt-v3 .stat__value {
  color: #a98753;
}

/* ---------- the sample plates ----------
   Media sits ON the board with margin and a hairline, instead of bleeding to
   the edges. Two film bands in a row now read as two plates, not one slab. */

body.trt-v3 .film {
  margin-block: var(--gap-media);
}

body.trt-v3 .film__frame,
body.trt-v3 .film--inset .film__frame {
  width: min(100% - clamp(36px, 9vw, 160px), 1180px);
  margin-inline: auto;
  border: 1px solid var(--rule);
  background: var(--night);
}

body.trt-v3 .film--full .film__video {
  height: clamp(300px, 60vh, 620px);
}

body.trt-v3 .film--inset .film__video {
  height: clamp(240px, 46vh, 470px);
}

body.trt-v3 .film__cap {
  width: min(100% - clamp(36px, 9vw, 160px), 1180px);
  color: rgba(20, 18, 15, 0.5);
}

body.trt-v3 .film__cap::before {
  background: #a98753;
  opacity: 0.8;
}

body.trt-v3 .gallery,
body.trt-v3 .split {
  width: min(100% - clamp(36px, 9vw, 160px), 1180px);
  margin-inline: auto;
  gap: clamp(10px, 1.2vw, 18px);
}

body.trt-v3 .gallery__item img {
  filter: none;
}

body.trt-v3 .split__item {
  border: 1px solid var(--rule);
}

/* ---------- ARC & Designers ----------
   The card itself is defined once in v2.css (v3 carries .is-v2 too, so it
   inherits). Only the edges differ: on paper the card needs a hairline to
   separate it from the ground; on black it does not. */

body.trt-v3 .arc__plate img {
  border: 1px solid var(--rule);
  border-block-end: 0;
}

body.trt-v3 .arc__band {
  border: 1px solid var(--rule);
  border-block-start: 0;
}

/* ---------- logo marks ----------
   The strips are white artwork on transparency, extracted for a dark ground.
   On paper they would be invisible, so invert them to black. */

body.trt-v3 .marquee__track img,
body.trt-v3 .awards img,
body.trt-v3 .fcol__badges {
  filter: invert(1);
  opacity: 0.72;
}

body.trt-v3 .logo-wall {
  border-block: 1px solid var(--rule);
  background: var(--paper-deep);
}

body.trt-v3 .marquee {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

/* ---------- the dark plates ----------
   PRODUCTS and the showrooms stay on night: they are photography-led, and
   the tab bar needs a dark field to read against. */

body.trt-v3 .products {
  margin-block: var(--gap-media);
  padding-block: clamp(28px, 4vh, 52px) 0;
  background: var(--night);
}

body.trt-v3 .products__tabs {
  border-block-end: 1px solid rgba(255, 255, 255, 0.12);
}

body.trt-v3 .products__num,
body.trt-v3 .products__name {
  color: #fff;
}

body.trt-v3 .products__num {
  color: var(--gold);
}

body.trt-v3 .section--showrooms {
  margin-block-start: var(--gap-media);
  padding-block: var(--gap-section);
  background: var(--night);
}

body.trt-v3 .section--showrooms .section__title {
  color: #fff;
}

body.trt-v3 .section--showrooms .section__lead {
  color: rgba(244, 241, 236, 0.66);
}

body.trt-v3 .section--showrooms .eyebrow,
body.trt-v3 .section--showrooms .eyebrow::before {
  color: var(--gold);
  background: none;
}

body.trt-v3 .section--showrooms .eyebrow::before {
  background: var(--gold);
}

/* TR STONE: full-bleed as it was, on black.
   The beige tint was too close to the paper to read as a decision; black
   makes it a clear beat between two paper stretches. Format unchanged. */
body.trt-v3 .section--stone {
  background: var(--night);
}

body.trt-v3 .section--stone .stone__bg {
  display: none;
}

body.trt-v3 .section--stone .section__title {
  color: #fff;
}

body.trt-v3 .section--stone .prose {
  color: rgba(244, 241, 236, 0.82);
}

body.trt-v3 .section--stone .prose__note {
  color: rgba(196, 165, 126, 0.7);
}

body.trt-v3 .section--stone .prose__note::before {
  background: rgba(196, 165, 126, 0.4);
}

body.trt-v3 .section--stone .eyebrow {
  color: var(--gold);
}

/* ---------- contact ---------- */

body.trt-v3 .field input {
  border-color: rgba(20, 18, 15, 0.26);
  color: var(--ink);
}

body.trt-v3 .field input:hover {
  border-color: rgba(20, 18, 15, 0.45);
}

body.trt-v3 .field input:focus {
  border-color: #a98753;
  background: rgba(169, 135, 83, 0.06);
}

body.trt-v3 .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

body.trt-v3 .btn:hover,
body.trt-v3 .btn:focus-visible {
  background: transparent;
  color: var(--ink);
}

body.trt-v3 .form-note {
  border-color: var(--rule);
}

body.trt-v3 .form-note--ok {
  color: #7a6032;
  border-color: rgba(169, 135, 83, 0.5);
}

/* ---------- footer stays on night, to close the page ---------- */

body.trt-v3 .site-footer {
  margin-block-start: var(--gap-media);
  padding-block: clamp(72px, 10vh, 120px) clamp(28px, 4vh, 44px);
  background: var(--night);
  border-block-start: 0;
  color: var(--paper);
}

body.trt-v3 .site-footer .fcol__title {
  color: var(--gold);
  border-block-end-color: rgba(196, 165, 126, 0.24);
}

body.trt-v3 .site-footer .fcol__line,
body.trt-v3 .site-footer .fcol__nums li {
  color: rgba(244, 241, 236, 0.66);
}

body.trt-v3 .site-footer .fcol__nums a,
body.trt-v3 .site-footer .fcol__nums b {
  color: rgba(244, 241, 236, 0.92);
}

body.trt-v3 .site-footer .fcol__badges {
  filter: none;
  opacity: 0.8;
}

body.trt-v3 .site-footer__base {
  color: rgba(244, 241, 236, 0.42);
  border-block-start-color: rgba(244, 241, 236, 0.1);
}

/* ---------- header ----------
   Over paper the gradient-on-photo treatment has nothing to sit on, so once
   the journey is behind us the bar becomes a solid light strip. */

body.past-hero .site-header.is-light {
  /* Fully opaque: at 96% the gold ARC band ghosted through the bar as it
     scrolled underneath. Literal values because the body.trt-v3 custom properties
     live on <main> and are out of scope here. */
  background: #efece6;
  border-bottom: 1px solid rgba(20, 18, 15, 0.14);
}

body.past-hero .site-header.is-light .primary-nav a,
body.past-hero .site-header.is-light .header-utils a {
  color: #14120f;
}

body.past-hero .site-header.is-light .primary-nav a:hover,
body.past-hero .site-header.is-light .header-utils a:hover {
  color: #a98753;
}

/* The wordmark is white artwork, so on paper it inverts to black. Only the
   image is inverted — colouring the text as well would cancel out. */
body.past-hero .site-header.is-light .brand {
  filter: invert(1);
}

body.past-hero .site-header.is-light .nav-toggle span {
  background: #14120f;
}

/* The mobile drawer opens over paper too. */
.trt-v3 .primary-nav.is-open {
  background: rgba(239, 236, 230, 0.98);
}

.trt-v3 .primary-nav.is-open a {
  color: #14120f;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  body.trt-v3 .film__frame,
  body.trt-v3 .film__cap,
  body.trt-v3 .gallery,
  body.trt-v3 .split {
    width: calc(100% - 32px);
  }
}


/* ===== elementor-fix.css ===== */
/* Elementor's kit sets scroll-behavior: smooth on <html>. Lenis drives the
   scroll from JS, so a native smooth animation on top of it makes the two
   fight and the page resists the wheel. The hero script also clears this
   directly; this covers the case where it bails before running. */
html {
  scroll-behavior: auto;
}

/* ---------- Elementor reconciliation ----------
   Two things fight the design on an Elementor page:

   1. The default kit sets its own font (Roboto), colour and sizes on widget
      text, and Elementor 4 no longer wraps widget output in
      `.elementor-widget-container` — the <p>/<h2> are DIRECT children of the
      element our class sits on. So the design has to be re-asserted on those
      children, not on the wrapper.

   2. Elementor's `align: right` compiles to `text-align: end`, which in an RTL
      document resolves to the LEFT. The generator therefore sets no alignment
      at all and lets `start` (the RTL right) be the default. */

body.trt-v2 .elementor-heading-title,
body.trt-v2 .elementor-widget-text-editor,
body.trt-v2 .elementor-widget-text-editor p,
body.trt-v2 .elementor-counter-number,
body.trt-v2 .elementor-counter-title,
body.trt-v2 .elementor button,
body.trt-v2 .elementor input {
  font-family: "Heebo", "Arial Hebrew", Arial, sans-serif;
}

/* running text */
body.trt-v2 .prose p {
  max-width: 58ch;
}

body.trt-v2 .prose p {
  color: rgba(244, 241, 236, 0.74);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 100;
  line-height: 1.95;
  margin: 0 0 1.4em;
}

body.trt-v2 .prose p:last-child {
  margin-bottom: 0;
}

body.trt-v2 .section__lead p {
  max-width: 46ch;
}

body.trt-v2 .section__lead p {
  margin: 0;
  color: rgba(244, 241, 236, 0.6);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 100;
  line-height: 1.85;
}

/* headings — Elementor prints its own title element inside our class */
body.trt-v2 .section__title .elementor-heading-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 100;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #fff;
}

body.trt-v2 .eyebrow .elementor-heading-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold, #c4a57e);
}

/* the eyebrow's leading rule is drawn by ::before on the class element, which
   Elementor keeps as a block wrapper — put it on the title instead */
body.trt-v2 .eyebrow::before {
  display: none;
}

body.trt-v2 .eyebrow .elementor-heading-title::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-inline-end: 12px;
  vertical-align: middle;
  background: var(--gold, #c4a57e);
  opacity: 0.55;
}

body.trt-v2 .eyebrow--center .elementor-heading-title::before {
  display: none;
}

/* stats — Elementor's counter widget replaces the hand-built markup */
body.trt-v2 .stat__label .elementor-heading-title {
  font-size: 13px;
  font-weight: 100;
  color: rgba(244, 241, 236, 0.6);
}

body.trt-v2 .stat--counter .elementor-counter-number-wrapper {
  font-size: clamp(46px, 5.6vw, 80px);
  font-weight: 100;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold, #c4a57e);
  direction: ltr;
}

body.trt-v2 .stat--counter .elementor-counter-title {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 100;
  color: rgba(244, 241, 236, 0.5);
}

/* footer columns */
body.trt-v2 .fcol__title .elementor-heading-title {
  padding-block-end: 14px;
  border-block-end: 1px solid var(--line, rgba(196, 165, 126, 0.22));
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold, #c4a57e);
}

body.trt-v2 .fcol__line p {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 100;
  line-height: 1.75;
  color: rgba(244, 241, 236, 0.66);
}

body.trt-v2 .fcol__line b {
  font-weight: 400;
  color: rgba(244, 241, 236, 0.9);
}

body.trt-v2 .site-footer__base p {
  margin: 0;
  font-size: 12px;
  font-weight: 100;
  color: rgba(244, 241, 236, 0.42);
}

/* ARC pitch line sits on the white card */
body.trt-v2 .arc__pitch .elementor-heading-title {
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.35;
  color: #14120f;
}

/* media plates — Elementor images are inline-block by default */
body.trt-v2 .gallery-plate img,
body.trt-v2 .split-plate img,
body.trt-v2 .arc-plate-img img {
  display: block;
  width: 100%;
  height: auto;
}

body.trt-v2 .gallery-plate {
  flex: 1 1 0;
  min-width: 0;
}

body.trt-v2 .gallery-plate img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

body.trt-v2 .split-plate img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* the film plates and marquees arrive via shortcode inside a widget wrapper
   that would otherwise cap them to the content column */
body.trt-v2 .elementor-widget-shortcode {
  width: 100%;
}

/* Elementor's own reset gives buttons a rounded look; the design is square */
body.trt-v2 .elementor button,
body.trt-v2 .elementor input {
  border-radius: 0;
}

/* ---------- v3 (light) equivalents ---------- */

body.trt-v3 .prose p {
  color: rgba(20, 18, 15, 0.72);
  font-weight: 300;
}

body.trt-v3 .section__lead p {
  color: rgba(20, 18, 15, 0.6);
  font-weight: 300;
}

body.trt-v3 .section__title .elementor-heading-title {
  color: #14120f;
}

body.trt-v3 .eyebrow .elementor-heading-title,
body.trt-v3 .eyebrow .elementor-heading-title::before {
  color: #a98753;
}

body.trt-v3 .eyebrow .elementor-heading-title::before {
  background: #a98753;
}

body.trt-v3 .stat--counter .elementor-counter-number-wrapper {
  color: #a98753;
}

body.trt-v3 .stat__label .elementor-heading-title,
body.trt-v3 .stat--counter .elementor-counter-title {
  color: rgba(20, 18, 15, 0.6);
}

@media (max-width: 900px) {
  body.trt-v2 .gallery-plate img {
    aspect-ratio: 1 / 1;
  }
}

/* a centred text widget still needs its measure centred, not flush to the start */
/* A centred text widget still holds its paragraphs to a reading measure, and a
   max-width block with no auto margin sits flush against the start edge — which
   in RTL is the RIGHT. The words were centred inside a box parked on the right.
   Elementor 4 renders no alignment class, so the generator marks these
   explicitly rather than CSS trying to infer it. */
body.trt-v2 .prose--center p,
body.trt-v2 .section__lead--center p {
  margin-inline: auto;
}

/* ---------- showrooms split ----------
   The two halves are containers whose background IS the photograph, so the
   caption is ordinary flow content sitting at the bottom of the box. The
   design's own .split rules assume an <img> plus an absolute caption, which
   would not be editable in the builder, so the look is restated here. */

body.trt-v2 .showrooms-split {
  /* As drawn: logistics centre on the left, showroom on the right. An RTL row
     would put the first child on the right, so the row runs LTR and each
     caption puts itself back to RTL. */
  direction: ltr;
  padding-inline: 0;
}

body.trt-v2 .showrooms-split > .e-con {
  direction: rtl;
  min-width: 0;
  --padding-inline-start: 46px;
  --padding-inline-end: 46px;
}

body.trt-v2 .showroom__title .elementor-heading-title {
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

body.trt-v2 .showroom__lines p {
  margin: 0;
  font-size: 13px;
  font-weight: 100;
  line-height: 1.7;
  color: rgba(244, 241, 236, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

body.trt-v3 .showroom__lines p {
  font-weight: 300;
}

@media (max-width: 900px) {
  body.trt-v2 .showrooms-split {
    flex-direction: column;
  }
}

/* ================= inner pages =================
   Values scaled from the client's PSDs (1920 canvas) to the 1440 layout: the
   title is Thin 80px gold at y=558, the sub-category cells are 170x35 sitting
   flush against each other, and the carousel is 1458x821 with its arrows
   outside the frame. */

body.trt-v2 .page-hero {
  position: relative;
}

/* The gold title has to stay legible over photographs that run from near-white
   marble to near-black stone, hence the scrim on the container plus a shadow. */
body.trt-v2 .page-title .elementor-heading-title {
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55);
}

body.trt-v2 .inner-intro p {
  color: rgba(244, 241, 236, 0.78);
  line-height: 1.95;
}

/* ---- sub-category strip ---- */

body.trt-v2 .cat-tabs .elementor-widget-button {
  width: auto;
}

body.trt-v2 .cat-tab .elementor-button {
  display: block;
  min-width: 128px;
  padding: 7px 14px;
  border: 1px solid rgba(196, 165, 126, 0.38);
  border-radius: 0;
  background: transparent;
  color: var(--gold, #c4a57e);
  fill: var(--gold, #c4a57e);
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* the cells butt against each other in the design, so collapse the doubled rule */
body.trt-v2 .cat-tabs .elementor-widget-button + .elementor-widget-button .elementor-button {
  margin-inline-start: -1px;
}

body.trt-v2 .cat-tab .elementor-button:hover {
  background: rgba(196, 165, 126, 0.16);
  color: #fff;
}

body.trt-v2 .cat-tab.is-active .elementor-button {
  background: var(--gold, #c4a57e);
  border-color: var(--gold, #c4a57e);
  color: #080808;
}

body.trt-v2 .cat-tab.is-active .elementor-button:hover {
  background: #d3b892;
  color: #080808;
}

/* ---- carousel slot ---- */

body.trt-v2 .tr-slider {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 26px);
}

body.trt-v2 .tr-slider__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  /* 1458 x 821 in the PSD */
  aspect-ratio: 1458 / 821;
}

/* Panels are stacked, not laid side by side: only the selected filter shows,
   and the viewport keeps its height whichever one that is. */
body.trt-v2 .tr-slider__panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: var(--gold, #c4a57e);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

body.trt-v2 .tr-slider__panel.is-on {
  opacity: 1;
  visibility: visible;
}

body.trt-v2 .tr-slider__note {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(8, 8, 8, 0.62);
}

body.trt-v2 .tr-slider__nav {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold, #c4a57e);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

body.trt-v2 .tr-slider__nav:hover {
  opacity: 1;
}

body.trt-v2 .inner-contact-title .elementor-heading-title {
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  body.trt-v2 .cat-tab .elementor-button {
    min-width: 0;
    font-size: 14px;
  }

  body.trt-v2 .tr-slider__viewport {
    aspect-ratio: 4 / 3;
  }
}

/* ---- about ---- */

body.trt-v2 .inner-section-title .elementor-heading-title {
  letter-spacing: 0.06em;
}

body.trt-v2 .brand-wall img,
body.trt-v2 .awards-img img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

body.trt-v2 .about-stats .stat__label .elementor-heading-title {
  color: rgba(244, 241, 236, 0.72);
  line-height: 1.5;
}

body.trt-v2 .about-stats .stat--counter .elementor-counter-number-wrapper {
  justify-content: center;
  direction: ltr;
}

/* ---- showrooms ----
   Two equal cells per row, the photograph alternating side to side exactly as
   the PSD has it: text/photo, photo/text, text/photo. */

/* In RTL the FIRST flex child is placed on the RIGHT, which mirrored every
   row against the design. Run the row itself LTR so source order reads
   left-to-right as drawn, and put each cell back to RTL for its Hebrew.
   (The homepage .split carries the same fix for the same reason.) */
body.trt-v2 .sr__row {
  direction: ltr;
}

body.trt-v2 .sr__row > .e-con {
  direction: rtl;
  flex: 1 1 50%;
  min-width: 0;
}

body.trt-v2 .sr__name .elementor-heading-title {
  letter-spacing: 0.04em;
}

body.trt-v2 .sr__lines p,
body.trt-v2 .sr__hours p,
body.trt-v2 .sr__nums p {
  margin: 0 0 4px;
  color: rgba(244, 241, 236, 0.74);
  line-height: 1.75;
}

body.trt-v2 .sr__hours p:first-child {
  margin-top: 10px;
  color: rgba(244, 241, 236, 0.5);
}

body.trt-v2 .sr__nums b {
  font-weight: 400;
  color: rgba(244, 241, 236, 0.92);
}

body.trt-v2 .sr__go .elementor-button {
  min-width: 96px;
  padding: 7px 18px;
  border: 1px solid rgba(196, 165, 126, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--gold, #c4a57e);
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.trt-v2 .sr__go .elementor-button:hover {
  background: var(--gold, #c4a57e);
  color: #080808;
}

@media (max-width: 900px) {
  /* stack, and always lead with the photograph so each block opens on an image */
  body.trt-v2 .sr__row {
    flex-direction: column;
  }

  body.trt-v2 .sr__row > .sr__photo {
    order: -1;
  }

  body.trt-v2 .about-stats {
    flex-direction: column;
    gap: 34px;
  }
}

/* the filter cells are buttons, not links -- no pointer affordance for a URL */
body.trt-v2 .cat-tab .elementor-button {
  cursor: pointer;
}

/* a panel with real artwork fills the frame; the placeholder keeps the gold */
body.trt-v2 .tr-slider__panel.has-image {
  padding: 0;
  background: #0b0a09;
}

body.trt-v2 .tr-slider__panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- header submenu ----
   The products entry opens the six category pages. Hover on a pointer device,
   tap-to-open on touch (the parent link still works on a second tap). */

.primary-nav li.has-sub {
  position: relative;
}

.primary-nav .sub-nav {
  position: absolute;
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(6px);
  min-width: 190px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: rgba(10, 9, 8, 0.97);
  border: 1px solid rgba(196, 165, 126, 0.22);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 40;
}

.primary-nav li.has-sub:hover .sub-nav,
.primary-nav li.has-sub:focus-within .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
}

.primary-nav .sub-nav li {
  display: block;
}

.primary-nav .sub-nav a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 300;
  white-space: nowrap;
  color: rgba(244, 241, 236, 0.82);
}

.primary-nav .sub-nav a:hover {
  color: var(--gold, #c4a57e);
}

@media (max-width: 900px) {
  /* in the drawer the submenu is simply indented, always visible */
  .primary-nav .sub-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: 0;
    background: transparent;
    padding: 2px 0 8px;
  }

  .primary-nav .sub-nav a {
    padding-inline-start: 26px;
    opacity: 0.8;
  }
}

/* ==========================================================================
   Projects, architects and the sub-category pages
   ========================================================================== */

/* ---- breadcrumb ----
   A sub-category page sits two levels down and the header nav only reaches the
   category, so the way back up has to live on the page itself. */

body.trt-v2 .crumb p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
}

body.trt-v2 .crumb a {
  color: var(--gold, #c4a57e);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 165, 126, 0.35);
}

body.trt-v2 .crumb a:hover {
  border-bottom-color: var(--gold, #c4a57e);
}

body.trt-v2 .crumb span {
  padding: 0 6px;
  opacity: 0.5;
}

/* ---- projects filter strip ----
   Same cell treatment as the sub-category tabs; a separate class because these
   filter a grid by category rather than swapping a carousel panel, and the two
   click handlers must not fight over the same selector. */

body.trt-v2 .proj-tabs .elementor-widget-button {
  width: auto;
}

body.trt-v2 .proj-tab .elementor-button {
  display: block;
  min-width: 150px;
  padding: 7px 16px;
  border: 1px solid rgba(196, 165, 126, 0.38);
  border-radius: 0;
  background: transparent;
  color: var(--gold, #c4a57e);
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.trt-v2 .proj-tabs .elementor-widget-button + .elementor-widget-button .elementor-button {
  margin-inline-start: -1px;
}

body.trt-v2 .proj-tab .elementor-button:hover {
  background: rgba(196, 165, 126, 0.16);
  color: #fff;
}

body.trt-v2 .proj-tab.is-active .elementor-button {
  background: var(--gold, #c4a57e);
  border-color: var(--gold, #c4a57e);
  color: #080808;
}

/* ---- project grid ----
   The design is a dense mosaic of mixed aspect ratios. A fixed-row grid with
   object-fit gives that without needing a masonry library, and keeps the
   cells aligned when the filter hides some of them. */

body.trt-v2 .proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

body.trt-v2 .proj-cell {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
}

body.trt-v2 .proj-cell[hidden] {
  display: none;
}

body.trt-v2 .proj-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

body.trt-v2 .proj-cell:hover img {
  transform: scale(1.04);
}

/* The caption is lifted off the photograph by a gradient rather than a flat
   panel: several of these images are pale at the bottom edge. */
body.trt-v2 .proj-cell__cap {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 100%;
  padding: 26px 16px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  color: #fff;
  font-family: Heebo, system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.35;
  text-align: start;
}

body.trt-v2 .proj-cell__cap b {
  display: block;
  font-weight: 400;
}

body.trt-v2 .proj-cell__cap span {
  display: block;
  font-size: 12px;
  opacity: 0.72;
}

@media (max-width: 900px) {
  body.trt-v2 .proj-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

@media (max-width: 560px) {
  body.trt-v2 .proj-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- architects: join strip ----
   Sits on the gold band directly under the hero, which is where the design
   puts it -- it is the page's whole purpose. */

body.trt-v2 .join-band .join__title {
  margin: 0;
}

body.trt-v2 .join-band .arc__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

body.trt-v2 .join-band .arc__form input {
  min-width: 170px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 8, 8, 0.45);
  background: transparent;
  color: #080808;
  font-family: Heebo, system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
}

body.trt-v2 .join-band .arc__form input::placeholder {
  color: rgba(8, 8, 8, 0.6);
}

body.trt-v2 .join-band .arc__form button {
  padding: 8px 18px;
  border: 0;
  background: #080808;
  color: var(--gold, #c4a57e);
  font-family: Heebo, system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
}

/* ---- architects: TOP 100 flipbook ----
   Pages are images turned one at a time. An A4 page is 1:1.414, so the stage
   is given that ratio outright rather than letting the image push the layout
   around as each page loads. */

body.trt-v2 .tr-book {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 6px;
}

body.trt-v2 .tr-book__stage {
  aspect-ratio: 1 / 1.414;
  background: #d8bd93;
  overflow: hidden;
}

body.trt-v2 .tr-book__page {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.trt-v2 .tr-book__nav {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--gold, #c4a57e);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

body.trt-v2 .tr-book__nav:hover {
  opacity: 0.65;
}

body.trt-v2 .tr-book__count {
  grid-column: 2;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: Heebo, system-ui, sans-serif;
  font-weight: 300;
  font-size: 13px;
  text-align: center;
}

body.trt-v2 .tr-book__dl {
  grid-column: 2;
  margin-top: 2px;
  color: var(--gold, #c4a57e);
  font-family: Heebo, system-ui, sans-serif;
  font-weight: 300;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 165, 126, 0.4);
  justify-self: center;
}

@media (max-width: 560px) {
  body.trt-v2 .tr-book {
    grid-template-columns: 30px 1fr 30px;
  }
  body.trt-v2 .tr-book__nav {
    width: 30px;
    font-size: 22px;
  }
}

/* ---- architects: TR TV / TR PR / TR FUN rails ----
   Horizontal scroll with snap: the design shows cells running off the right
   edge, and a native scroller behaves better on touch than any carousel. */

body.trt-v2 .rail-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-inline: 24px 24px;
  padding-block-end: 10px;
  scrollbar-width: thin;
}

body.trt-v2 .rail-cell {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
  width: 300px;
  background: #111;
}

body.trt-v2 .rail-cell img,
body.trt-v2 .rail-cell__v {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

body.trt-v2 .rail-cell--video {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
}

body.trt-v2 .rail-strip__empty {
  margin: 0 auto;
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.45);
  font-family: Heebo, system-ui, sans-serif;
  font-weight: 300;
  text-align: center;
}

body.trt-v2 .rail__title {
  margin: 0;
}

@media (max-width: 560px) {
  body.trt-v2 .rail-cell,
  body.trt-v2 .rail-cell--video {
    width: 220px;
  }
}

/* ---- video heroes ----
   Elementor paints the background video into its own layer; without this the
   poster shows through at the edges while the clip is still buffering. */

body.trt-v2 .page-hero--video .elementor-background-video-container,
body.trt-v2 .page-hero--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   אבן ושיש — the bespoke category page
   The only category with its own design (1920x5329 against 3209 for the rest).
   ========================================================================== */

body.trt-v2 .ed__title {
  margin: 0;
}

body.trt-v2 .ed__body p {
  margin: 0 0 14px;
  line-height: 1.85;
}

body.trt-v2 .ed__body p:last-child {
  margin-bottom: 0;
}

/* ---- three material families ----
   The row is RTL like the rest of the page, so the first cell lands on the
   right — which is where the PSD puts אבן טבעית. No direction override. */

body.trt-v2 .mat-row {
  align-items: stretch;
}

body.trt-v2 .mat {
  flex: 1 1 0;
  min-width: 0;
}

body.trt-v2 .mat__shot {
  width: 100%;
  border: 1px solid rgba(196, 165, 126, 0.16);
}

body.trt-v2 .mat__name {
  margin: 0;
}

body.trt-v2 .mat__body p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  body.trt-v2 .mat-row {
    flex-direction: column;
  }
}

/* ---- "ככה בוחרים נכון" ----
   Four numbered steps. The rules between them are inline-start so they fall
   between cells in both directions, and the first cell never gets one. */

body.trt-v2 .steps__title {
  margin: 0;
}

body.trt-v2 .step-row {
  align-items: flex-start;
}

body.trt-v2 .step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding-inline: 18px;
}

body.trt-v2 .step + .step::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(196, 165, 126, 0) 0%,
    rgba(196, 165, 126, 0.28) 30%,
    rgba(196, 165, 126, 0.28) 70%,
    rgba(196, 165, 126, 0) 100%
  );
}

body.trt-v2 .step__n {
  margin: 0;
  line-height: 1;
  opacity: 0.9;
}

body.trt-v2 .step__title {
  margin: 0;
}

body.trt-v2 .step__body p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 900px) {
  body.trt-v2 .step-row {
    flex-wrap: wrap;
  }
  body.trt-v2 .step {
    flex: 1 1 42%;
    padding-block-end: 22px;
  }
  /* the vertical rule only makes sense across a single row */
  body.trt-v2 .step + .step::before {
    display: none;
  }
}

@media (max-width: 560px) {
  body.trt-v2 .step {
    flex: 1 1 100%;
  }
}

/* ---- TR Clients logo wall (projects page) ---- */

body.trt-v2 .clients__title {
  margin: 0;
}

body.trt-v2 .clients__wall img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  /* Twenty-four logos across a phone would be unreadable, so the wall keeps
     its own width and scrolls sideways instead of shrinking to nothing. */
  body.trt-v2 .clients__wall {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.trt-v2 .clients__wall img {
    min-width: 860px;
  }
}

/* ==========================================================================
   WordPress menu + theme footer
   The menu is now editable at Appearance -> Menus and the footer lives in
   footer.php instead of being copied into all 34 Elementor trees.
   ========================================================================== */

/* ---- nav: accept WordPress's own class names ----
   WP marks a parent .menu-item-has-children and its list .sub-menu, where the
   hard-coded markup used .has-sub and .sub-nav. Both are accepted so the
   fallback nav and the real menu look identical. */

.primary-nav li.menu-item-has-children {
  position: relative;
}

.primary-nav .sub-menu {
  position: absolute;
  inset-inline-start: 0;
  top: 100%;
  min-width: 190px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: rgba(8, 8, 8, 0.96);
  border: 1px solid rgba(196, 165, 126, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}

.primary-nav li.menu-item-has-children:hover .sub-menu,
.primary-nav li.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu li {
  margin: 0;
}

.primary-nav .sub-menu a {
  display: block;
  padding: 7px 18px;
  color: rgba(244, 241, 236, 0.78);
  font-size: 13px;
  font-weight: 300;
  white-space: nowrap;
  text-decoration: none;
}

.primary-nav .sub-menu a:hover {
  color: var(--gold, #c4a57e);
  background: rgba(196, 165, 126, 0.08);
}

@media (max-width: 1100px) {
  .primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    background: transparent;
    padding: 0 0 6px;
  }
  .primary-nav .sub-menu a {
    padding: 5px 0 5px 16px;
    font-size: 12px;
  }
}

/* ---- footer, rendered by footer.php ----
   The old rules reached through Elementor's wrappers
   (.fcol__title .elementor-heading-title, .fcol__line p). This markup is plain
   HTML, so the same classes are styled directly. */

body .site-footer-band {
  background: var(--ink, #080808);
  padding-block: 90px 40px;
}

body .site-footer-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

body .site-footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

body .site-footer-cols .fcol {
  flex: 1 1 200px;
  min-width: 0;
}

body .site-footer-band .fcol__title {
  margin: 0 0 8px;
  color: var(--gold, #c4a57e);
  font-family: Heebo, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

body .site-footer-band .fcol__line {
  margin-block-end: 8px;
}

body .site-footer-band .fcol__line p {
  margin: 0;
  color: rgba(244, 241, 236, 0.72);
  font-family: Heebo, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 100;
  line-height: 1.7;
}

body .site-footer-band .fcol__line b {
  font-weight: 300;
  color: rgba(244, 241, 236, 0.9);
}

body .site-footer-band .fcol--badges img {
  display: block;
  width: 108px;
  height: auto;
  margin: 0 auto 10px;
}

body .site-footer-band .site-footer__base {
  margin: 34px 0 0;
  color: rgba(244, 241, 236, 0.45);
  font-family: Heebo, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 100;
  text-align: center;
}

@media (max-width: 900px) {
  body .site-footer-cols {
    gap: 30px;
  }
  body .site-footer-cols .fcol {
    flex: 1 1 100%;
  }
}

/* =====================================================================
   2026-11 client fixes
   ===================================================================== */

/* anchors land below the fixed header */
body.trt-v2 .tr-stack__item,
body.trt-v2 #tr-pr,
body.trt-v2 #contact {
  scroll-margin-top: calc(var(--header-h, 82px) + 70px);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- category pages: tabs stay in view while the sections scroll ---- */
/* The bar's design spacing above it (70px padding) becomes margin, so the
   stuck bar is only as tall as the tabs and does not hide section titles. */
body.trt-v2 .cat-tabs {
  position: sticky;
  top: var(--header-h, 82px);
  z-index: 20;
  background: var(--ink, #080808);
  margin-block-start: 56px;
  padding-block: 12px !important;
}
body.trt-v2 .tr-stack__item {
  scroll-margin-top: calc(var(--header-h, 82px) + 80px);
}

body.trt-v2 .tr-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 110px);
}

body.trt-v2 .tr-stack__title {
  margin: 0 0 22px;
  color: var(--gold, #c4a57e);
  font-family: Heebo, system-ui, sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 100;
  letter-spacing: 0.6px;
  text-align: center;
}

body.trt-v2 .tr-stack__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1458 / 821;
  object-fit: cover;
  background: #111;
}

/* ---- projects: each cell opens a details window ---- */
body.trt-v2 .proj-cell__open {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
body.trt-v2 .proj-cell__open:focus-visible {
  outline: 2px solid var(--gold, #c4a57e);
  outline-offset: -2px;
}
body.trt-v2 .proj-cell__cap { pointer-events: none; }

.proj-modal {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: #0d0d0d;
  color: #f4f1ec;
  overflow: auto;
}
.proj-modal::backdrop { background: rgba(0, 0, 0, 0.82); }
.proj-modal__close-wrap { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; margin: 0; }
.proj-modal__close {
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.proj-modal__img:not(img) { display: none; }
.proj-modal__img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #000; }
.proj-modal__body { padding: 24px 28px 30px; font-family: Heebo, system-ui, sans-serif; }
.proj-modal__kind { color: var(--gold, #c4a57e); font-size: 13px; font-weight: 600; letter-spacing: 0.8px; }
.proj-modal__title { margin: 6px 0 4px; font-size: clamp(24px, 3vw, 34px); font-weight: 100; color: #fff; }
.proj-modal__city { margin: 0 0 20px; opacity: 0.72; font-weight: 300; }
.proj-modal__city:empty { display: none; }

/* ---- projects page: the logo wall is now three moving rows ---- */
body.trt-v2 .clients__rows {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ---- architects: the article cards are links ---- */
body.trt-v2 .rail-cell__link { display: block; transition: opacity 0.3s ease; }
body.trt-v2 .rail-cell__link:hover { opacity: 0.85; }
body.trt-v2 .rail-cell__link:focus-visible { outline: 2px solid var(--gold, #c4a57e); outline-offset: 3px; }

/* ---- article pages ---- */
body.trt-v2 .press-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
body.trt-v2 .press-title .elementor-heading-title { line-height: 1.3; }
body.trt-v2 .press-subhead,
body.trt-v2 .press-person { color: rgba(244, 241, 236, 0.82); }
body.trt-v2 .press-person b { color: #fff; font-weight: 400; }
body.trt-v2 .press-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-block-start: 14px;
  font-family: Heebo, system-ui, sans-serif;
  font-size: 14px;
}
body.trt-v2 .press-nav a {
  color: var(--gold, #c4a57e);
  text-decoration: none;
  border-block-end: 1px solid rgba(196, 165, 126, 0.4);
  padding-block-end: 2px;
}
body.trt-v2 .press-nav a:hover { border-color: var(--gold, #c4a57e); }
@media (min-width: 768px) {
  body.trt-v2 .press-media { position: sticky; top: calc(var(--header-h, 82px) + 24px); }
}

/* ---- privacy policy ---- */
body.trt-v2 .legal-body { color: rgba(244, 241, 236, 0.86); }
body.trt-v2 .legal-body h2 {
  margin: 34px 0 10px;
  color: var(--gold, #c4a57e);
  font-family: Heebo, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
}
body.trt-v2 .legal-body p { margin: 0 0 14px; }
body.trt-v2 .legal-body a { color: var(--gold, #c4a57e); }

/* ---- forms: the privacy notice under the submit button ---- */
.form-privacy {
  max-width: 760px;
  margin: 14px auto 0;
  color: rgba(244, 241, 236, 0.6);
  font-family: Heebo, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}
.form-privacy a { color: var(--gold, #c4a57e); }

/* ---- footer: quick links, dialable phones, privacy link ---- */
body .site-footer-band .site-footer__nav {
  margin-block-start: 44px;
  padding-block-start: 26px;
  border-block-start: 1px solid rgba(244, 241, 236, 0.1);
  text-align: center;
}
body .site-footer-band .site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
body .site-footer-band .site-footer__nav a,
body .site-footer-band .site-footer__base a {
  color: rgba(244, 241, 236, 0.72);
  font-family: Heebo, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
}
body .site-footer-band .site-footer__nav a:hover,
body .site-footer-band .site-footer__base a:hover { color: var(--gold, #c4a57e); }
body .site-footer-band .fcol__tel { color: inherit; text-decoration: none; }
body .site-footer-band .fcol__tel:hover b { color: var(--gold, #c4a57e); }

/* 2026-11-25: on scroll the header turns solid (the stack script sets
   body.tr-solid-head), so photos no longer show through behind the menu
   and the sticky category tabs. */
body.tr-solid-head .site-header {
  background: #080808;
  transition: background-color .2s ease;
}
